Eric Trahan wrote:
$error = $_FILES['uneimage']['error'];
That doesn't seem work in PHP 4.1.2... I try it but $error is empty.
It just means there wasn't an error.
And the function move_uploaded_file($_FILES['uneimage']['tmp_name'],
$target_path) returns TRUE, so the upload work (in a way !).
The problem is the file that is upload doesn't match the original file.
By how much is the difference? Are we talking a few bytes, a few
megabytes, what?
If you then download the file again, is it corrupted, or does it work?
Cheers,
Rich
--
Zend Certified Engineer
http://www.corephp.co.uk
"Never trust a computer you can't throw out of a window"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php