Re: header function
| From: | Steve Cayford | Date: | Mon, 15 Jul 2002 21:18:08 +0000 |
| Subject: | Re: header function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20562@lists.php.net to get a copy of this message | ||
What's on line 3 of Auth_user.php ?
If you have anything outside of the <?php ... ?> tags it will start the html output. Even just an empty line.
-steve
On Monday, July 15, 2002, at 04:09 PM, Mohammad Forouhar-Fard wrote:
Hi, I have a problem with function header("Location:xy.php?var=2). I have not any text (print echo or display any text) at all before I set a cookie If I try to execute this function of Apache server in my Company it is all auf OK. But if I try to run at home I have even the same error Cannot add header information - headers already sent by (output started at C:\httpd\HTDOCS\Auth_user.php on line 3 Can somebody help my I have at home this configuration: I have Winxp OmniHTTPd/2.09 Server. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php