I have a php file that reads the folder content and creates an HTML page with it. I 'm using $handle=opendir("."); to open an later read the content but I can't figure out how to display the folder name where the php file is located. Echoing $handle dispalys only a period. Is there a way to get the folder name so I can echo it?
I'm using PHP4 on Win2000 and Win98.
Thx!