Re: [PHP] rewriting the browser's url

2001-01-13 Thread Cynic
1) use POST method, not GET 2) don't output anything from the script that recieves the POST data, instead, redirect to another page. pseudocode follows: if( post ) { query the database ; header( 'Location: result.php' ) ; } html form At 03:23 14.1. 2001, Jared Howard wrote t

[PHP] rewriting the browser's url

2001-01-13 Thread Jared Howard
I need to know how to be able to eliminate the querysting portion of the URL that is displayed on the users browser. I don't want it possible to click refresh and reenter in the same querystring that was used previously (eg. php runs a mysql query of INSERT based on the querystring which only sho