I have an upload form that only works for some images on Mac IE 5.2 The form works fine on Mac Safari, PC IE/Mozilla/Firefox. Any reason why? When I try to open the uploaded file from my pc it says 'Can't determine type'
My simple code
<form name="imgform" action="test.php" method="POST" enctype="multipart/form-data">
Image File
<input type="hidden" name="MAX_FILE_SIZE" value="2100000">
<input type="file" name="imgfile">
<input type="submit">
</form>
<?php
if($FILES['imgfile'])
{
move_uploaded_file( $FILES['imgfile']['tmp_name'], 'testimg/'.$_FILES['imgfile']['name'] );
} // end post
?>
For test images I just google image searched 'birds' and picked the swan image (2nd one)
http://lynx.uio.no/jon/gif/animals/birds/swans.jpg
Any thoughts? Is this sample image faulty?