Page 2 of 2
Posted: Sun Dec 05, 2004 9:11 pm
by raging radish
Still nothing. On another note, I thought that <li> only had to be closed using XHTML?
And I don't think this is quite right either:
Code: Select all
<h3> align="left">Image Upload Page</h3>
...but was ok the way I had it originally.
Posted: Sun Dec 05, 2004 9:13 pm
by d3ad1ysp0rk
Try using the "id" attribute as well.
Posted: Sun Dec 05, 2004 9:13 pm
by Benjamin
Yeah that was right, it's getting late lol. The only thing I can think of is that there is a tag confusing ie someplace. What exactly happens when you click upload?
Posted: Sun Dec 05, 2004 9:31 pm
by raging radish
LiLpunkSkater: the id attribute doesn't help the situation.
agtlewis: The page continues as if nothing unusual has happened. The script returns a message (based on $_FILE error constants) to the user saying if the upload was successful or not. The returned message is that the upload was successful (UPLOAD_ERR_OK), but it was not. No other errors are returned either.
Posted: Mon Dec 06, 2004 2:18 am
by mchaggis
I know this may seem obvious and you've probably checked... But:
a) Are you trying to uplad the same file to IE as you are Firefox?
b) Have you checked the file size?
Incedentally:
To garentee posting to your self, just omit the action parameter from the form opening tag.
The forward slashes at the ends of input tags have no impact other than to make your form conform to w3c guidelines that IE ignores.
Posted: Mon Dec 06, 2004 5:35 pm
by raging radish
mchaggis wrote:
a) Are you trying to uplad the same file to IE as you are Firefox?
Yes
mchaggis wrote:
b) Have you checked the file size?
Yep
mchaggis wrote:
Incedentally:
To garentee posting to your self, just omit the action parameter from the form opening tag.
The forward slashes at the ends of input tags have no impact other than to make your form conform to w3c guidelines that IE ignores.
Thanks, noted for future reference.
Posted: Mon Dec 06, 2004 6:31 pm
by Benjamin
Just reinstall windows and be done with it

Posted: Mon Dec 06, 2004 6:36 pm
by raging radish
I think the problem is solved. Near as I can tell, the issue occurred because the script was looking for jpeg files and excluding all others, filetype being verified by the following snippet:
Code: Select all
if ($_FILES['fupload']['type'] == "image/jpeg")
I changed it to:
Code: Select all
if ($_FILES['fupload']['type'] == "image/jpeg" || "image/jpg")
and now it co-operates. Why only IE disapproved of the original is anybody's guess...
I hope my hair will grow back

Posted: Mon Dec 06, 2004 7:30 pm
by Daisy Cutter
I bet it has something to do with the way that IE sends the data.