Is there anyway to determine is a string is a folder or a file name. I am making a directory listing page, but it is treating file like folders and getting errors.
DIRPAGE > if file > go to file url
DIRPAGE > if folder > open the folder ( i know how to use the folder thing )
Question
Nerf
Is there anyway to determine is a string is a folder or a file name. I am making a directory listing page, but it is treating file like folders and getting errors.
DIRPAGE > if file > go to file url
DIRPAGE > if folder > open the folder ( i know how to use the folder thing )
Thanks
NERF
Link to comment
Share on other sites
2 answers to this question
Recommended Posts