#20851 [NEW]: Problem with the example in file-upload.xml

From: Date: Fri, 06 Dec 2002 03:34:26 +0000
Subject: #20851 [NEW]: Problem with the example in file-upload.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350199@lists.php.net to get a copy of this message
From: fernando.conceicao@terra.com.br 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

« previous php.doc (#969350199) next »