Mark Kelly wrote:
> > You can also use something like:
> >
> > echo "<meta http-equiv=\"Refresh\" content=\"0;url=$from_page\">";
>
> There's no need to use a meta tag to mimic HTTP headers. PHP
> provides the header() function.

I have been using that method when I got part-way through some
processing that produces output, and hit something that requires a
redirect. As I understand it headers are no use to me here.

You're still using a Refresh header. The difference is that you're using a meta tag to mimic the header (e.g., http-equiv).

Using meta:

<meta http-equiv="Name" content="Value" />

Using header():

<?php header('Name: Value'); ?>

Hope that helps.

Chris

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

Reply via email to