I found a recursive directory lister in PHP comments and it uses this function to escape data
Problem is on Windows the \ is used as a directory delimiter and the above function removes that character?
When I comment out the function everything works fine
Do I have to regex the \ to / first then call that function? Is that even a good way of doing this?
Is that function really needed on glob, etc???
p.s-No it's generally a good idea type replies please...strictly yes or no...
Cheers