ID: 28191 Updated by: [EMAIL PROTECTED] Reported By: j dot g dot budnichuk at verizon dot com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Solaris PHP Version: 4.3.6 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. And also read the section in the manual on file uploading. Previous Comments: ------------------------------------------------------------------------ [2004-04-27 21:39:22] j dot g dot budnichuk at verizon dot com Description: ------------ with apache 1.3.29 and ph4.3.6 apache starts with PHP ok..... [Tue Apr 27 15:27:31 2004] [notice] Apache/1.3.29 (Unix) PHP/4.3.6 configured -- resuming normal operations [Tue Apr 27 15:27:31 2004] [notice] Accept mutex: fcntl (Default: fcntl) execute this php script to upload file.... <?php // In PHP versions earlier than 4.1.0, $HTTP_POST_FILES should be used instead // of $_FILES. $uploaddir = '/var/www/uploads/'; $uploadfile = $uploaddir . $_FILES['userfile']['name']; print "<pre>"; if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { print "File is valid, and was successfully uploaded. "; print "Here's some more debugging info:\n"; print_r($_FILES); } else { print "Possible file upload attack! Here's some debugging info:\n"; print_r($_FILES); } print "</pre>"; ?> all appears to be ok.... File is valid, and was successfully uploaded. Here's some more debugging info: Request Number is Array ( [userfile] => Array ( [name] => 2950t.txt [type] => text/plain [tmp_name] => /var/tmp/phpOtaOZO [error] => 0 [size] => 5844 ) ) PROBLEM::::FILE 2950T.TXT CANNOT BE FOUND ANYWHERE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28191&edit=1