Re: Files upload
| From: | Andrew Brampton | Date: | Sun, 09 Feb 2003 19:03:57 +0000 |
| Subject: | Re: Files upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134962@lists.php.net to get a copy of this message | ||
I beleive move_uploaded_file is prefered since copy won't work in Safe Mode.
Andrew
----- Original Message -----
From: "Max 'AMiGo' Gashkov" <amigo@otaku.ru>
To: "PHP General list" <php-general@lists.php.net>
Sent: Sunday, February 09, 2003 6:09 PM
Subject: [PHP] Files upload
> Is there any difference between using
>
> move_uploaded_file(...
>
> or
>
> if(is_uploaded_file...
> ...
> copy(....
>
> (security hazards etc.)?
>
>
> WBR, Max 'AMiGo' Gashkov
> amigo@otaku.ru ]=[ http://diary.otaku.ru/amigo
> Distributed.net participant [408228][RC5-72]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>