From:             justin at timelesstech dot com
Operating system: FreeBSD 4.8 stable
PHP version:      4.3.8
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  $_FILES['name'] no longer has full path (from 4.3.4 to 4.3.8)

Description:
------------
We have had scripts running for a while now fine on PHP 4.3.4 that assume
that the $_FILES['name'] value on file uploads contains the full
/path/to/the/filename.txt

However after our server admins upgraded to PHP 4.3.8 the $FILES['name']
now only contains the filename, with no path. This makes it impossible for
our recursive file uploader script to work, since it NEEDS the pathname of
those files to know what directory/subdir on the server to upload the
file(s) to!

The changelog does not mention this, but does anybody have any ideas?


-- 
Edit bug report at http://bugs.php.net/?id=29937&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29937&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29937&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29937&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29937&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29937&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29937&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29937&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29937&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29937&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29937&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29937&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29937&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29937&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29937&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29937&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29937&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29937&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29937&r=float

Reply via email to