ID: 45429 Updated by: [EMAIL PROTECTED] Reported By: aatelfer at hotmail dot com -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Apache/2.0.63 (Unix) PHP Version: 5.2.6 New Comment:
Closing then. Previous Comments: ------------------------------------------------------------------------ [2008-07-04 11:29:09] aatelfer at hotmail dot com Yes it is. My apologies. ------------------------------------------------------------------------ [2008-07-04 07:54:17] [EMAIL PROTECTED] So the problem is gone? ------------------------------------------------------------------------ [2008-07-03 23:49:47] aatelfer at hotmail dot com Sorry, I did not install the GD library. It caused a fatal error and the error was suppressed. ------------------------------------------------------------------------ [2008-07-03 20:11:05] aatelfer at hotmail dot com Description: ------------ move_uploaded_file file has some error that causes my script to terminate. I don't get any errors at all. The script just ends. Reproduce code: --------------- function uploadfile($filename,$path) { if(is_uploaded_file($_FILES[$filename]['tmp_name'])) { move_uploaded_file($_FILES[$filename]['tmp_name'],$path); return true; } return false; } Expected result: ---------------- function should return a true or false value Actual result: -------------- Scripts terminates without any error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45429&edit=1