Hello,
I need to do a PHP script to accept file upload on HTTP server and to save it on the server. In fact, I want to upload a file on http server from a j2me application.
I read many ideas, forums and articles but I don't know how to do the server side part, so the php script which supposes to accept my file and save it on the http apache server.
I tried to do something like this:
And my j2me code for uploading file is:
Also, I tried this example:
http://wiki.forum.nokia.com/index.php/HTTP_Post_multipart_file_upload_in_Java_ME but the script doesn't report anything.
Or maybe I don't know how to use these scripts. If there is somebody who can explain it to me or show me a php script which saves a file on a http server I will be very happy.
Thanks!!