PHP 4.0 Bug #5375 Updated: File upload problems

From: Date: Wed, 05 Jul 2000 14:00:28 +0000
Subject: PHP 4.0 Bug #5375 Updated: File upload problems
Groups: php.dev 
Request: Send a blank email to php-dev+get-23463@lists.php.net to get a copy of this message
ID: 5375 User Update by: michael.eisele.me@bayer-ag.de Status: Open Bug Type: Scripting Engine problem Description: File upload problems Scripts that used the file upload fuction via HTTP form worked fine in PHP3. Now file upload misbehaves in Version 4.01 as follows: 1. The variable userfile[] contains double backslahes in file names (e.g. c:\\temp\\php2, should be c:\temp\php2). This Bug has already been reported. 2. If the bug in userfile[] is fixed by a regular expression replace the file cannot be copied anyway. A call to copy( $userfile[0], $dest) fails. The file referenced in $userfile[0] is present in the temp dir. The same script worked in PHP 3. Thanks for any help. Michael Eisele Full Bug description available at: http://bugs.php.net/?id=5375

« previous php.dev (#23463) next »