On Tue, May 8, 2007 11:30 am, Eric Trahan wrote:
The upload work. The user file is uploaded to my destination folder
(page5/) but the file is unreadable and the file size is smaller than
the original file size.
$tmp_name = $_FILES['uneimage']['tmp_name'];
$type =
$error = $_FILES['uneimage']['error'];
That doesn't seem work in PHP 4.1.2... I try it but $error is empty.
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
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
On Tue, May 8, 2007 2:12 pm, Eric Trahan wrote:
$error = $_FILES['uneimage']['error'];
That doesn't seem work in PHP 4.1.2... I try it but $error is empty.
And the function move_uploaded_file($_FILES['uneimage']['tmp_name'],
$target_path) returns TRUE, so the upload work (in a way !).
Le 2007-05-08 à 16:50, Richard Davey a écrit :
By how much is the difference? Are we talking a few bytes, a few
megabytes, what?
A 116Kb file produce a 68Kb file on the server. And a 152Kb file
produce a 48Kb file on the server...
If you then download the file again, is it corrupted,
5 matches
Mail list logo