Re: Upload problem - final size is different

From: Date: Tue, 08 May 2007 18:04:53 +0000
Subject: Re: Upload problem - final size is different
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254562@lists.php.net to get a copy of this message
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 = $_FILES['uneimage']['type']; > $name = $_FILES['uneimage']['name']; > $size = $_FILES['uneimage']['size']; $error = $_FILES['uneimage']['error']; switch($error){ //There are at least 5 or 6 'case' statements that go here //read the manual to find them } -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#254562) next »