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
IL PROTECTED]
> Subject: [PHP] Java applet can't read PHP output !!
>
>
>
> I am using php4 as an Apache module. The problem is that
> when a Java
> applet makes a connection to a CGI script written in php,
> it can't read
> the result of php output, but the sam
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
I am using php4 as an Apache module. The problem is that when a Java
applet makes a connection to a CGI script written in php, it can't read
the result of php output, but the same applet works fine with Perl or
plain sh CGI script - since the only difference between the the CGIs is
the language
6 matches
Mail list logo