Reply to Getting the HTTP response code that is sent via a cell phone

Your name:

Reply:


Posted by jl on 09/08/06 11:30

I have a J2ME cell phone application that via the AMS (Application
Manager) 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация