[PHP] Uploading data with 'application/octet-stream' encoding ?

2001-04-04 Thread Peter Choynowski
Upload goes fine but I can't find the data :-( Any idea what PHP var holds it ( if any ). $HTTP_SERVER_VARS['CONTENT_LENGTH'] has the right value, so apache has received the data - any ideas ? Thanks, Peter P.S. If I change encoding to application/x-www-form-urlencoded I get the data - but I r

Re: [PHP] Java applet can't read PHP output !!

2001-04-03 Thread Peter Choynowski
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

Re: [PHP] Java applet can't read PHP output !!

2001-04-03 Thread Peter Choynowski
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

[PHP] Java applet can't read PHP output !!

2001-04-03 Thread Peter Choynowski
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