Re: Upload problem - final size is different

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux