Re: What is wrong here?

From: Date: Mon, 25 Nov 2002 02:15:24 +0000
Subject: Re: What is wrong here?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125856@lists.php.net to get a copy of this message
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"); exit; 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: ..."); exit; ?> -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/

« previous php.general (#125856) next »