I need to upload an image from my j2me application to a web server.
I can't work with servlet, since my free domain doesn't offer tomcat or java hosting.
Is there any other way to upload?
Thanks
I need to upload an image from my j2me application to a web server.
I can't work with servlet, since my free domain doesn't offer tomcat or java hosting.
Is there any other way to upload?
Thanks
Do they offer any scripting? Perl, PHP, ASP?
They offer PHP. and doesn't offer perl and ASP. I'm using domain from http://www.000webhost.com/Do they offer any scripting? Perl, PHP, ASP?
You can use PHP, take help from this FN Wiki example -
http://wiki.forum.nokia.com/index.ph...oad_in_Java_ME
I tried the example that you mentioned and failed. There were few things which I couldn't understand. Such as:
params.put("custom_param", "param_value");
params.put("custom_param2", "param_value2");
what should I put here?
HttpMultipartRequest req = new HttpMultipartRequest( ....... "upload_field", .......)
what is upload_field?
filesize($_FILES['upload_field']['tmp_name']);
Is this line handling the POST ?
tmp_name: is this name of my file?
Last edited by csckid; 2010-07-08 at 08:56.