my upload form doe not work on IE?
Posted: Fri Feb 16, 2007 1:01 am
feyd | Please use
it always goes into the default block in IE !!
If you want I can give you the URL to test too.
saumya
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hi ppl,
I am having a strange problem here.
I have an image upload form, that works nicely from Firefox, but it doe not work in IE?
The code is belowCode: Select all
$upload_error=$_FILES['photo']['error'];
switch($upload_error) {
case 0: //no error; possible file attack!
echo 'no error; possible file attack!';
break;
case 1: //uploaded file exceeds the upload_max_filesize directive in php.ini
echo 'uploaded file exceeds the upload_max_filesize directive in php.ini';
break;
case 2: //uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form
echo 'uploaded file exceeds the MAX_FILE_SIZE ( 10 KB ) directive that was specified in the html form';
break;
case 3: //uploaded file was only partially uploaded
echo 'uploaded file was only partially uploaded';
break;
case 4: //no file was uploaded
//$error = $error . $upload_error . ": " . $upload_error_lang[$upload_error];
echo 'no file was uploaded';
break;
default: //a default error, just in case!
$error ="<br/><br/>". $error . $upload_error . ": " . $upload_error_gen_lang;
break;
}If you want I can give you the URL to test too.
saumya
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]