Re: Serious problem with setcookie

From: Date: Fri, 08 Sep 2000 21:58:41 +0000
Subject: Re: Serious problem with setcookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15957@lists.php.net to get a copy of this message
Try removing your blank line between #!/usr/local/bin/php and <? This should remove your probem. On 9/8/00 4:21 PM this was written: > ERROR I get is.... > > "sorry header has allready bene sent' > > This works on another server I have. > One running on PHP Version 3.0.12 - works > One running on PHP Version 3.0.15 - failed > > the one on PHP Version 3.0.12 does not need the #!/usr/local/bin/php part > is just runs php, and php3 (plus what ever i tell it to parse in the > .htaccess file) > > the one running Version 3.0.15 does need the #!/usr/local/bin/php at the > top.. why I do not know. it is just what costomer support told me to use to > have the server parse a php page. when it is not used the server does not > parse the php in teh scripts and will only read the html. > > like stated above issue is i can run PHP on both servers.. i can setcookie > with that script i provided on the first but not the second. > the second one give me the "header allready sent..' -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#15957) next »