Re: PHP-using HTTP Guru ?
| From: | Erik Price | Date: | Mon, 11 Feb 2002 19:09:20 +0000 |
| Subject: | Re: PHP-using HTTP Guru ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79953@lists.php.net to get a copy of this message | ||
On Monday, February 11, 2002, at 01:59 PM, Sagi Bashari wrote:
Hi Just use something like die(header('Location: abc.php')); and php will exit after sending the header. If you don't exit, the client can probably ignore the header and see the rest of the page. SagiAh, excellent. This is exactly what I needed. Brad LaFountain also suggested using the exit(). This lets the header() tell the user agent where to go, and then terminates any further output from the script so that the user agent can't obtain any information even if it somehow ignores the header() function. Thanks very much to both of you -- I will now unsub and return to php-general, so as not to further muddy the topic of PHP-DEV(elopment). Sincerely, Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com