Warning: lstat failed for test.txt (errno=2 - No such file or directory) in /public_html/t/code.php on line 27
I am getting this warning when trying to dsplay items in a folder.
The line of code the warning is referring to is:
$DirOrFile = filetype($file);
This initially worked fine but now is giving me a warning!
Does anybody have any idea how this could be resolved? Any help would be hugely appreciated!!!!
Thanks
Warning: lstat failed for test.txt (errno=2 - No such file..
Moderator: General Moderators
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact: