|  | Posted by jl on 09/08/06 11:30 
I have a J2ME cell phone application that via the AMS (ApplicationManager) delivers a status report to my server indicating whether the
 suite was successfully installed and identifying the reason for failure
 if it was not.
 
 This report takes the form of a status code and a status message that
 is sent using an HTTP POST request to the URL given by the
 MIDlet-Install-Notify attribute in the JAD file.
 
 I'm having a hard time finding out how to get to the HTTP POST request
 status code that is sent to the server from the cell phone.
 
 All of the examples that I see for request, response, originate from
 the server. But I don't have a "hook". For example, the following code
 has the $url variable to pass to file_get_contents. :
 
 $contents = file_get_contents($url);
 
 However, in my case, the server is just receiving the code but it is
 not originating the communication.
 
 Will someone please post the PHP code for this or at least a few hints
 as to how to begin?
 
 Thanks,
 jl
  Navigation: [Reply to this message] |