Hello,

I'm having a really strange output problem that I can't figure out. The problem is that a few characters appear prepended and appended to the body of the server response. I'm running PHP 4.3.0 and 4.3.2 on Mac OS X (tibook and xserve) and Red Hat 7.1 with 4.3.2 as well, with Apache 1.3 on all of them.

Here is a reproduction of the problem on two servers:

From the command line... (the following URL illustrates the problem, feel free to use it)

(Request)
$ telnet dev.ourvoices.ca 80
GET /test.php HTTP/1.1
Host: dev.ourvoices.ca

(Response)
HTTP/1.1 200 OK
...other headers...
Content-Type: text/html

3
foo
0

(The code in /test.php)
<?php echo 'foo'; ?>

(What's with the 3 and the 0)

You can also duplicate this problem at ourvoices.sitellite.org on the Linux box as well.

phpinfo() can be seen for both these machines at:

http://dev.ourvoices.ca/phpinfo.php
http://ourvoices.sitellite.org/phpinfo.php

Anyone seen this before? Anyone know of a solution?

Thanks in advance,

Lux

--

John Luxford
President and Chief Developer
______________________________
SIMIAN systems
Driving Web Content Management
______________________________
web   : http://www.simian.ca/
email : [EMAIL PROTECTED]
phone : 204.942.8630
fax   : 309.218.3874


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to