#22098 [Opn->Bgs]: problems with filemtime/filemsize
| From: | sniper@php.net | Date: | Thu, 06 Feb 2003 23:35:29 +0000 |
| Subject: | #22098 [Opn->Bgs]: problems with filemtime/filemsize | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32336@lists.php.net to get a copy of this message | ||
ID: 22098
Updated by: sniper@php.net
Reported By: stdbmt12@shsu.edu
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Linux/RedHat 7.3
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP 4.3.0 was released over a month ago..
Previous Comments:
------------------------------------------------------------------------
[2003-02-06 17:05:16] stdbmt12@shsu.edu
having problems with the way PHP handles a long filename containing
"@'s" e.g. @P@@@@@@80@@XXX_XXX@FILENAME.TXT
the '@' in this case is a delimiter, only the four fields listed above
may appear in the filename but the first ('P' in this case) is
optional. if the first field is empty the system returns:
"stat failed for @@@@@@@80@@XXX_XXX@FILENAME.TXT (errno=2 - No such
file or directory)"
if the 'P' is there, there is no problem. i tried placing the
path/filename in quotes, escaping all the "@'s" with "\@'s".
PHP just will not handle the filename if the 'P' is missing, can't use
file_exists(), filemtime(), filesize(), fopen(), i stopped testing when
none of these worked.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22098&edit=1