I use this code with the intension to REDIRECT to the file login.php

if (!isset($login)) {
header("Location: /ha/login/log.php?goal=log&goback=$PHP_SELF");
} else {
some code here
}

When I load the page the following happens: The source show the filename
with this script and not the log.php, but the content is from log.php
I don't understand noooothing.
So, if header() don't do redirection, which php-function does?
(Or, is there a better way to achieve the same?)



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

Reply via email to