Java - PHP Interface

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gajananbhat
Forum Newbie
Posts: 1
Joined: Fri Nov 01, 2002 12:16 pm

Java - PHP Interface

Post 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
Post Reply