Can't upload some images (HTTP upload via HTML Form)
Posted: Tue Oct 19, 2004 4:21 pm
http://www.nano-cemms.uiuc.edu/imgtest.php *SITE REMOVED, SORRY*
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:
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:
There are no error messages thrown when #2 happens above. The stop button lights for a moment, showing me that the browser is trying to do sometihng, and then it stops. The page is not reloaded, nor does the browser seem to travel to pro_enter_data.php as the action field of the form would have you believe.
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>