Re[3]: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c basic_functions.h
| From: | Andrew Sitnikov | Date: | Sat, 23 Mar 2002 20:14:39 +0000 |
| Subject: | Re[3]: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c basic_functions.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81683@lists.php.net to get a copy of this message | ||
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,
RL> 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 : sitnikov@infonet.ee
GSM : (+372) 56491109