ID: 3288 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Other Operating System: Windows 98 PHP Version: 3.0.14 New Comment:
Sorry, but the bug system is not the appropriate forum for asking support questions. 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 Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2000-01-23 16:40:01] [EMAIL PROTECTED] Form POST related: Using the Windows compiled binaries. Version 3.0.14 gives a file name for uploaded files, but there is no file there. Version 4 Beta 3 works fine. PHP 3.0.14 output: Warning: Unable to open 'C:\\WINDOWS\\TEMP\\php2' for reading: Unknown error in webpages/FileUtil.php3 on line 16 Warning: Unlink failed (Permission denied) in webpages/FileUtil.php3 on line 17 File uploaded as: autoexec.bat PHP 4 output: File uploaded as: autoexec.bat Code Segment: <? //check for file upload if ( 1 > strlen( $path ) ) { $path = "."; } else { $path = rawurldecode( $path ); } if(isset($uploadedFile)) { $generatedFileName = $path; $generatedFileName .= "/"; $generatedFileName .= $uploadedFile_name; copy( $uploadedFile, $generatedFileName ); unlink( $uploadedFile ); echo "<H2>File uploaded as: ", $uploadedFile_name, "</H2>"; } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3288&edit=1
