|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-03 04:03 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 17:00:01 2025 UTC |
file_exists () works fine with reletive paths, but seems to not work with absolute paths, or paths starting with '../' this works fine: -------------------------------------------------------------- if(file_exists(test/123)) { die ("error message"); } this does not work: -------------------------------------------------------------- if(file_exists(/tmp/test/123)) { die ("error message"); } this does not work: -------------------------------------------------------------- if(file_exists(../../tmp/test/123)) { die ("error message"); } thanks... atom