I am trying to upload my image but its not geting uploaded through IE but its visible through Firefox. I hav seen that on uploading through FF it goes into the root folder but for IE the images doesnt store into the FTP. Can any1 suggest the reasons behind this…
Code:
<?php // filename: upload.form.php // first let's set some variables // make a note of the current working directory relative to root. $directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']); // make a note of the location of the upload handler $uploadHandler = 'http://' . $_SERVER['HTTP_HOST'] . $directory_self . 'processing.php'; // set a max file size for the html upload form $max_file_size = 5242880; // size in bytes // now echo the html page ?>:
<input type="file" name='imagefile' />
<br /></td>
</tr>
<tr>
<td align="right"><label> Image: </label> </td>
<td align="right"><div align="center">:</div></td>
<td align="left"><input type="file" name='imagefilee'/>
<br /></td>
</tr>
<tr>
<td align="right"><label> Image: </label> </td>
<td align="right"><div align="center">:</div></td>
<td align="left"><input type="file" name='imagefileee' />
<br /></td>
</tr>
<tr>
<td align="right">Contact No. :</td>
<td align="right"><div align="center">:</div></td>
<td align="left"><input name="caption" type="text" value="" size="50"/> </td>
</tr>
<tr>
<td align="right">Email Id.</td>
<td align="right"><div align="center">:</div></td>
<td align="left"><input name="email" type="text" value="" /> </td>
</tr>
<tr>
<td align="right">Password</td>
<td align="right"><div align="center">:</div></td>
<td align="left"><input name="password" type="password"/> </td>
</tr>
<tr>
<td colspan="2" align="right"><input name="submit" value="submit" type="submit" /></td>
<td align="left"><input name="cancel" value="Reset" type="reset" /></td>
</tr>
</table>