ES['imagefile']['name']."";
> echo "Size: ".$_FILES['imagefile']['size']."";
> echo "Type: ".$_FILES['imagefile']['type']."";
> echo "Copy Done";
>
7;]['type']."";
echo "Copy Done";
}
else
{
echo "";
echo "Could Not Copy, Wrong Filetype
(".$_FILES['imagefile']['name'].")";
}
}
?>
- Original Message -
From: "Philip Olson"
anks again,
Rod
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Rodney Green" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 1:21 AM
Subject: Re: [PHP] file upload script
>
> By no errors, do you mean
By no errors, do you mean you have a PHP version greater
than PHP 4.2.0 and checked the ['error'] code, and it
has a value of 0? Are you sure you want the filename
to be $file_name? I doubt you do.
Regards,
Philip
ref: http://www.php.net/features.file-upload
On Sat, 7 Jun 2003, Rodney Green w
Hello. I'm attempting to upload a file using the script below and I'm not
having any success. The temp directory I'm using does exist and is
writeable. When I browse for the file then hit the send button it appears to
be working then displays the form again with no errors. I look for the file
on th
5 matches
Mail list logo