Re: is_uploaded_file

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

 




Hi,

 Check your form tag, it needs the following attribute
<form enctype="multipart-formdata">

Regards
uthaya

--- Eric Kandja <erickandja@xxxxxxxx> wrote:
> 
> Hello,
> 
> I don't understant why in any case, whith file and
> whithout file in the
> INPUT box the fonction is_uploaded_file is always
> false. Anyone knows why ?
> 
> if
>
(!is_uploaded_file($_FILES['photoInternaute']['name']))
>   {
>   $errMessage = "No file uploaded";
>    }
> 
> Kind regards.
> 
> Eric
> 
> 
> 
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux