Upload Image Problem!!!
I had developed a xHTML WAP page to upload image. It's working if i upload an image where file size less than 10 kb. But when i try to upload an image where file size more than 10 kb. I can't retrieve any data in the next page.
May i know why it's happen?? I don't think this is WAP Gateway problem. Is it anything that i miss out to develop a upload page?
Hi, i also have a problem, which is similar so i hope you can help me out.
Im quite new to this so if its an obvious answer, dont laugh at me
Im using the uploading code in "Mumbai_XHTML_Browsing" pdf document.
It goes like this -
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
<center><img src="logo.gif" alt="ImageUp" /></center><br />
<center><h2><font color="blue">Upload Page</font></h2></center>
Please select the file you wish to upload
<input type="file" name="fileToUpload">
<input type="submit" name="submit">
Firstly, should i be using .htm files, or .wml or...? Ive been testing it with a 7250i and after selecting the image and hitting submit, it goes to an error 404 page.
Also, regarding this bit...
<form action="http://www.server.com/uploadServlet"> <--- does that need to be changed to my servers url? Am i being dumb?
Any help would be great, as i dont really know where else to look.
You have to select language which your phone support. Example 7250i support XHTML Mobile Profile.
You must use your own server address, because otherwise uploaded stuff will go totally wrong place.
You have to have also some intelligent on the server side. But use example words "upload" and "Servlet" on the Google to find more information about that.
Thanks for the help. I got my file uploader working using a different approach. Thanks
Last edited by dilapper; 2005-01-20 at
Can you please tell me what the other approach you use and tell me more details. I am doing a final year project for something similar. Thankyou.