shalmoli Posted March 10, 2009 Share Posted March 10, 2009 I need to set up a Java client - PHP server framework. When the Java client sends a request it is correctly processed by the php page. However, the response string is not read by Java. There are no proxy issues as I have a direct route. However, when I call the php page through a browser , it is correctly displayed. What may be going wrong? Is it something to do with Apache? Link to comment https://forums.phpfreaks.com/topic/148786-php-response-failure/ Share on other sites More sharing options...
shalmoli Posted March 10, 2009 Author Share Posted March 10, 2009 Well, I managed to solve the issue and I thought I would post the solution in case somebody else tries a similar setup. Php script was connected to database that was throwing an exception which strangely was not reported while browsing directly. When the exception in php was handled and the output was started before the function call was made, the issue was resolved. Link to comment https://forums.phpfreaks.com/topic/148786-php-response-failure/#findComment-781261 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.