Re: Semi-OT: PHP Login with client security

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

 



robert wrote:

> try to use a full url instead of relative. e.g.
> 
> header('location: thankyou.php');
> 
> vs.
> 
> header('location: http://www.mysite.com/thankyou.php');

You should _always_ use an absolute URL in a redirect.  I know it quite
often works with a relative too.


/Per Jessen, Zürich


--
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