RE: HEADER PROBLEM OR MISCONFIGURATION

From: Date: Thu, 26 Oct 2000 07:17:29 +0000
Subject: RE: HEADER PROBLEM OR MISCONFIGURATION
Groups: php.windows 
Request: Send a blank email to php-windows+get-3500@lists.php.net to get a copy of this message
---------------------------------------------------------------------------- ----------------- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are not the intended recipient you are hereby notified that any perusal, use, distribution, copying or disclosure is strictly prohibited. If you have received this email in error please immediately advise us by return email at postmaster@normandy.com.au and delete the email document without making a copy. ---------------------------------------------------------------------------- ----------------- You have output something before line 36. This means you could have a blank line before your first <?php or maybe a prepended or included file with whitespace or characters output. You shouldnt have any echo's or prints either before your Header() Or if you look up output buffering functions you can get around this. As for you second question id have to see just how you are using <A href="somesite">go</a> to see why it is wrong (also check your server error logs) mn -----Original Message----- From: Serkan [mailto:s.serkan@chello.nl] Sent: Friday, September 22, 2000 2:59 PM To: php-windows@lists.php.net Cc: s.serkan@chello.nl Subject: HEADER PROBLEM OR MISCONFIGURATION HI all.. I have a question..(nope you cant win something..but U can help)..I am struggling for days with this problem.. When I set a cookie with setcookie("something , aloha") and I parse it I get the following message: Warning: Cannot add header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\test.php:2) in c:\program files\apache group\apache\htdocs\test.php on line 36 ... Line 36 says..setcookie("visit_id", $visit_data[id], time()+(60*60*24*365*10), "/"); Is this problem familiar to someone.....another question..I think they are related to each....whenever I use <A href="somesite">go</a> in my script..dont matter if its as php file or html file I get the following message "The server encountered an internal error or misconfiguration and was unable to complete your request"... Did I misconfigure something in apache or php4?..... Thanxx to all...

« previous php.windows (#3500) next »