note 58416 added to function.header
| From: | lguros at yahoo dot com | Date: | Thu, 03 Nov 2005 16:10:36 +0000 |
| Subject: | note 58416 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98028@lists.php.net to get a copy of this message | ||
OK, can anyone tell me why I get the error message:
Warning: Cannot modify header information - headers already sent by (output started at
/Apache/htdocs/getMedia.php:1) in /Apache/Apache/htdocs/getMedia.php on line 1
Wit the script I was playing with that starts like:
<?php header("Content-type: " . "image/gif"); construct_image();
:
:
I wanted to make sure all blank lines and such are gone....
Thanks,
Larry
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58416
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58416&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58416&report=yes
Search -- http://master.php.net/manage/user-notes.php