Petre Agenbag <mailto:[EMAIL PROTECTED]> on Wednesday, July 23, 2003 12:55 PM said:
> If you want to "use PHP", then you must use the headers() function. > BUT, with the header function, you MUST make sure that there will be > absolutely NO output to the page before the header() function is > called, not even a space... If there is a "even a space" you can turn output buffering on so that the redirect will still work. <? ob_start(); echo "hello"; header("Location: page.php"); ?> will work just fine. chris. p.s. exactly what is the code you are using in your script that's not working? and what browser are you using? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php