--- Petre Agenbag wrote:
> 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...
> Otherwise, you can simply use a meta refresh...

The meta tag just allows you to specify HTTP headers in your content, and most
browsers try to interpret them as if they were included in the proper section
of the response.

Since we are all PHP users, there is no reason not to put headers in the header
section of our responses. If you want to add a Refresh header, you can do
something like this:

header('Refresh: 3; url=http://www.google.com/');

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

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

Reply via email to