Hello Rasmus,

RL> That's where you are wrong.  Look at the php_checkuid() function in
RL> safe_mode.c you will find this code:

RL>             if (SG(rfc1867_uploaded_files)) {
RL>                 if (zend_hash_exists(SG(rfc1867_uploaded_files), (char *) 
filename, strlen(filename)+1)) {
RL>                     return 1;
RL>                 }
RL>             }
As long ago this appeared there?

RL> And for open_basedir sites, the move_uploaded_file() function can be used
RL> to move the file into the right directory at which point it can be read.
I know this.

οΛ, if you consider that move_uploaded_file () is necessary, though we
have copy(), and read_uploade_file () it is not necessary, this your right ...


Best regards,
 Andrew Sitnikov                         
 e-mail : [EMAIL PROTECTED]
 GSM    : (+372) 56491109


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to