Hi all. Have the following hypothetical situation.
I have a small java-app embedded in a phone with http lib. I want to send small chunks of binary data (not text!) to my php script, that has to store this data in some way.
I assume using HTTP POST on the java side, but what should this HTTP header look like and what do i use on the PHP side... The java unit has no mime coding or specific libs.
In other words: how to send binary data by HTTP and how to receive them.
Thanks for any reflections...
Martin Beek
I have a small java-app embedded in a phone with http lib. I want to send small chunks of binary data (not text!) to my php script, that has to store this data in some way.
I assume using HTTP POST on the java side, but what should this HTTP header look like and what do i use on the PHP side... The java unit has no mime coding or specific libs.
In other words: how to send binary data by HTTP and how to receive them.
Thanks for any reflections...
Martin Beek