[nycphp-talk] upload error
aaron at aarond.com
Thu Feb 9 11:15:36 EST 2006
Here is an example
*My simple code*
<form name="imgform" action="test.php" method="POST"
<input type="hidden" name="MAX_FILE_SIZE" value="2100000">
<input type="file" name="imgfile">
} // end post
For test images I just google image searched 'birds' and picked the swan
image (2nd one)
This works on Mac safari, PC IE/Mozilla/Firefox but not Mac IE. When I
try to open the file on my pc it says 'Can't determine type'
Any thoughts? Is this sample image faulty?
>>I just noticed that some jpg files will get uploaded, but others
>>I'm not sure what the difference is yet.
>Could be a couple of things: a) size -- check the size. I've had
>jpg's load only a portion because of size limits; 2) some jpgs have
>jpeg suffix -- check suffix and the defaults with your server.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk