#26597 [NEW]: missing all slashes in the path $_FILES['any_file']['tmp_name']
| From: | valyala at tut dot by | Date: | Fri, 12 Dec 2003 09:50:43 +0000 |
| Subject: | #26597 [NEW]: missing all slashes in the path $_FILES['any_file']['tmp_name'] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-51973@lists.php.net to get a copy of this message | ||
From: valyala at tut dot by
Operating system: Win2k sp3
PHP version: 4.3.4
PHP Bug Type: Scripting Engine problem
Bug description: missing all slashes in the path
$_FILES['any_file']['tmp_name']
Description:
------------
PHP 4.3.4 is running under apache 1.3.27 as module.
Value of $_FILES['any_file']['tmp_name'] is wrong. All slashes in the path
has been deleted. So, I cannot know the real filename of temporary file.
Reproduce code:
---------------
/* file with name 'any_file' was posted to the script
I want to see, where the temporary file was stored on the server:
*/
print($_FILES['any_file']['tmp_name']);
Expected result:
----------------
c:/winnt/temp/phpXX.tmp
Actual result:
--------------
c:winnttempphpXX.tmp
--
Edit bug report at http://bugs.php.net/?id=26597&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26597&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26597&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26597&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26597&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26597&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26597&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26597&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26597&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26597&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26597&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26597&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26597&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26597&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26597&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26597&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26597&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26597&r=float