I beleive move_uploaded_file is prefered since copy won't work in Safe Mode.

Andrew
----- Original Message ----- 
From: "Max 'AMiGo' Gashkov" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED] ]=[ 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
> 
> 

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

Reply via email to