hello everyone,

Can somebody tell me why meta-refresh is not preferred to do re-directs ?
I know Javascript is browser dependent, so its undependable.


using headers in php requires that no output is sent to the browser, what if the code logic requires that there is some output sent to the browser. I am sorry if this is a repeat question because someone earlier did mention abt output buffering as a way around.

TIA
--Pushpinder


On Thursday, July 24, 2003, at 12:11 PM, Curt Zirzow wrote:


* Thus wrote Pushpinder Singh Garcha ([EMAIL PROTECTED]):
try this,


use a meta-refresh ...


echo "<META HTTP-EQUIV=\"refresh\"
content=\"3;URL=http://wherever_u_wana_go.com/hello.html\";>";

This has already been discussed, and is not the preferred method of doing redirects. PHP can handle what he is doing just fine.



Curt
--
"I used to think I was indecisive, but now I'm not so sure."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to