RE: [PHP] PHP Output Even w/ Empty File. Can I stop this behaviou r?
| From: | Patrick Lynch | Date: | Wed, 06 Dec 2000 14:13:55 +0000 |
| Subject: | RE: [PHP] PHP Output Even w/ Empty File. Can I stop this behaviou r? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28897@lists.php.net to get a copy of this message | ||
PHP does not normally do this...
Is there a file being automatically prepended? ... write a page with the
phpinfo() function ... this should show you if there is an auto_prepend_file
happening.
/P
PS just for reference, here is the output from a request for test.php which
contains a <? and a ?> but nothing else!
-----------------------------------------
GET /~patrick/person/test.php HTTP1.0
HTTP/1.1 200 OK
Date: Wed, 06 Dec 2000 14:12:36 GMT
Server: Apache/1.3.12 (Unix) ApacheJServ/1.1.2 PHP/4.0.3pl1
X-Powered-By: PHP/4.0.3pl1
Connection: close
Content-Type: text/html
-----------------------------------------
-----Original Message-----
From: John E Haag [mailto:jhaag@all4one.com]
Sent: 06 December 2000 13:38
To: php-general@lists.php.net
Subject: [PHP] PHP Output Even w/ Empty File. Can I stop this behaviour?
Hi,
Whenever I give a document a .php extention, even if the file is
completely empty PHP seems to output headers or a <br> tag, or
whatever.
This is causing the application I am using ( TellMe Studio ) to fail,
since it expects to see no output before its own code.
Any suggestions?
Thanks a lot.
- John Haag
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net