From: [EMAIL PROTECTED] Operating system: Windows Millenium PHP version: 4.2.3 PHP Bug Type: Documentation problem Bug description: Problem with the example in file-upload.xml
In a mailing list the people tell they canīt make the example of file upload work, only who uses windows. So a begin work on this and discover why. If you donīt define upload_tmp_dir in php.ini, appears that php donīt know where to put, or it puts the file but donīt know where so $_FILES['userfile']['name'] return the correct value, but $_FILES['userfile']['tmp_name'] comes empty and you canīt move the file. Note that I donīt have anything in TMPDIR too. The people on windows "must" set the upload_tmp_dir in php.ini, without this canīt upload a file. -- Edit bug report at http://bugs.php.net/?id=20851&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20851&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20851&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20851&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20851&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20851&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20851&r=support Expected behavior: http://bugs.php.net/fix.php?id=20851&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20851&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20851&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20851&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20851&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20851&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20851&r=isapi -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php