Forum Moderators: coopster
I've just discovered a peculiar problem which only occurs in the Opera browser.
I've got my nice PHP user management system, with a form for users to post their info (name, location, email, hobbies etc) .. and I've also got a file field for an OPTIONAL photo/avatar.
Like I said, the photo file is entirely optional, and is validated server-side to be a jpg or gif in the correct dimensions.
In Opera, even if the field is left blank, something is seemingly uploaded to the server, because the image validation always fails unless a picture is actually uploaded (even if the field's empty) .. This only happens in Opera. Firefox, IE and Netscape all don't mind the photo field is left blank and process the form normally.
Can anyone help?
Alex ...
<pre>print_r($_FILES);</pre>