Awhile ago there was some discussion on irc #php , this use was proposed
(by onki) :
$tmp_name = $HTTP_POST_FILES['userfile']['tmp_name'];
move_uploaded_file ($tmp_name, '/home/httpd/html/upload/example.zip');
chmod('/home/httpd/html/upload/example.zip', 0644);
And it works. move_upl
Hi everyone.
I have trouble uploading files while in safe mode
.Warning: SAFE MODE Restriction in effect. The script whose uid is 206 is
not allowed to access /tmp/php6wtDUc owned by uid 0
Can someone help me pass around this problem?
--
PHP General Mailing List (http://www.php.net/)
To un
2 matches
Mail list logo