Re: Java applet can't read PHP output !!
| From: | Peter Choynowski | Date: | Wed, 04 Apr 2001 00:38:39 +0000 |
| Subject: | Re: Java applet can't read PHP output !! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46922@lists.php.net to get a copy of this message | ||
I have tried putting \n and a header command with no help. My current
theory is that php is manipulating the socket options in some way,
making Java drop the connection ( since Perl or sh CGI script works with
the same Java code). I have tried to modify the applet to use read
method in place of readLine with the same results - it reads fine from
Perl or SH but not from PHP - I have written a large quantity of PHP
code and want to stick to using only PHP ( makes support easier ). My
last option is running a tcpdump on the connection and see what is
flowing on the cable and look for differences, or looking through code
and trying to find the php - apache interface code :-(
Bye,
Peter