[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] Uploaded File by Form is mysteriously away.
From:       Marek Kilimajer <lists () kilimajer ! net>
Date:       2005-01-31 23:12:24
Message-ID: 41FEBB58.400 () kilimajer ! net
[Download RAW message or body]

Mirco Blitz wrote:
> Hi,
> 
> I'm trying to upload a pic file by form (Using QuickForm, but this here also
> happens in manually generates Forms).
> 
> Everything seems to work fine. 
> 
> The $_FILES["formfile"] shows everything about the file what is needed to
> know.
> 
> For example: Array ( [formfile] => Array ( [name] => lindworm.jpg [type] =>
> image/pjpeg [tmp_name] => /srv/www/htdocs/tmp/phpTLREuE [error] => 0 [size]
> => 15101 ) )
> 
>  
> 
> With this information I now try to make
> move_uploaded_file($_FILE["formfile"],
> "/srv/www/htdocs/img/".$_FILE["formfile"]["name"]) .

move_uploaded_file($_FILE["formfile"]['tmp_name'], ...


> 
> 

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic