Andrew - thanks for testing it - I have done more tests, and yes it does
look like the minimal Java code does work in my setup ( Linux, Apache
1.3.19, php 4.04pl1 ) - now I have to understand why my additional Java
code to make it into a POST type connection is throwing an exception :-(
Bye,
Pet
tst.php;
==8<
==8<
> -Original Message-
> From: Peter Choynowski [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 4 April 2001 10:09
> To: [EMAIL PROTECTED]
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
Try putting \n at the end of each line of your php print, your applet
is using readline() so waiting for newline character (\n).
hth
Andrew Braund
> -Original Message-
> From: Peter Choynowski [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 4 April 2001 06:08
> To: [EMAIL PROTECTED]
> Subj
Umm, have you tried explicitly outputting the content-type header the way
your shell script does?
See header() in the php docs.
On 4/3/01 1:38 PM, "Peter Choynowski" <[EMAIL PROTECTED]> wrote:
>
> I am using php4 as an Apache module. The problem is that when a Java
> applet makes a connection
5 matches
Mail list logo