|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-06-28 21:06 UTC] marekful at sziget dot hu
If there is an "&" or "'" in any file or directory names opendir or any other filesystem functions like rename or unlink will fail. Would you please send me some feedback on this problem? Thank you: Marcell F?l?p PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
Marking as bogus..works fine here. Try this: <?php $t = opendir('.'); while ($line = readdir($t)) { var_dump($line); echo "\n"; } closedir($t); ?> Works fine here with any wierd filenames, directory..etc.