I'm making a site which will reside in a remote server and had several
problems... most of them where solved once I saw that register_globals
are OFF, but now I donít know which other settings are affecting my
scripts. I have trouble with header("Location... because the browser is
NOT redirected. If I set an echo statement after I detected that the
username and password using $_POST[""], the echo goes OK but if I
comment the echo and un-comment the
header("Location: http://www.domainname.com";);

nothing happens... and no, there isn't anything before that... what can
be wrong? Thanks in advance,
The headers for the page might have already been sent. If there is a space at the top of your PHP file like below, any type of header change wont work:

-------top of file--------


header("Location: ...");


Kyle Gibson

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

Reply via email to