> Just, the result returned by the fuinction is mainly used to creatre
> links in the pages, only in some very special cases will be used with
> the header function. Just I use the & entity in links because I
> want all my pages being validated by the W3C validator service.

As well as that, you should send absolute URIs when you're using
headers, so instead of:

header('Location: ' . $url);

you should use

header('Location: http://www.mysite.com' . $url);

if you want to adhere to the HTTP standard.

Paul

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

Reply via email to