Re: redirect using php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 05 April 2006 13:55, Chris Shiflett wrote:
> 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.

I'm very much a beginner, so if this is the wrong way to do this, I'd 
appreciate pointers. Thanks for the reply, either way.

Mark

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux