views:

233

answers:

1

I am using the following code to upload an image to a web server

<form name="uploadFile" action="upload.php" method="post" enctype="multipart/form-data" onSubmit="return validate();">

<input type="hidden" name="choice" value="upload">
<table align="center">
<tr>
 <td><span style="color:red;font-weight:bold">Upload files</span></td><td><input type="file" id="ufile" name="ufile" onKeyPress="return false;" style="BACKGROUND-color:Thistle">(* jpg,gif,png)</td>
</tr>
<tr>
 <td colspan="2" align="center"><input type="submit" name="submit" value="Upload" style="BACKGROUND-color:Thistle"></td>
</tr>

</table>
</form>

Its working fine in the browser?

But the same thing is not working in the iphone safari browser ?

+4  A: 

iPhone's Safari does not support file upload.

arno
Is there any alternative for file upload using iPhone's safari browser ?
Biranchi