Page 1 of 1

Java - PHP Interface

Posted: Fri Nov 01, 2002 12:16 pm
by gajananbhat
Hi,

I m trying to send a text file from a local machine to a php server...basically upload the file....
i have a java program running on the local machine and i have a php file running on the server...so i call the php file from my java program...
....the problem is i get an "unexpected end of file from server" message, if i try to run it from the local machine....
the server has 2 instances of apache running each listening on the same port (80) ,each having the same ServerName, but having different BindAddresses ...so i tried shutting down one instance of apache and restarted that instance, but now listening on a different port( 9111..some randomly chosen port) ...and now when i connect to the same serverName but on this port...i m abe to successfully upload the file....

does any1 know what the problem could be??

Gajanan