I am trying to write a MIDlet, that collects user information and sends it to a server via URL.
On the server side, I have a script (namely PHP - I just feel more comfortable with it) that takes variables inlcuded in the requested URL and inserts them into a database.
This works. However, URLs get quite large, AND, most importantly, if any user-entered values have spaces (and they most certainly will), the app will not work - obviously, since URLs cannot have spaces in them.
So, my question is whether it is possible to pass variables to a server-side script another way than with URL.
Alternavely, is there a way to parse strings from user input (TextField) and substitute any spaces?
Thank you for the input.

Reply With Quote

