That site shows two images. One of a group of people that won't upload and one of me that does. The exact same form was used to upload both images and as you can see, they both appear to be jpgs with no issues. I uploaded the top image (the one that doesn't want to work in the form) but hand over FTP and it was fine.
However, when trying to upload that image using a an <input type="file"> field in a form, one of two things happens:
- In Internet Explorer, a "This Page Cannot be Displayed" page is shown.
- In Mozilla (& FireFox), you click the submit button and nothing happens.
This has also happened with GIF files. The jpeg on the page linked above is the first JPEG that has caused this problem.
Here is the form and the relevant fields:
Code: Select all
<form method="post" action="pro_enter_data.php" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<input type="file" size="100" name="image_file" class="bodytext">
</form>