|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-06 17:35 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 08:00:01 2025 UTC |
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.