Im trying to find a folder and display files. My problem is, I dont know my directory path. Im using EasyPHP and all my php files are stored in a www folder. But im not sure how to display that in a string. i tried using a direct path like this 'C:\Program Files\EasyPHP 2.0b1\www\ ' then i tried using the a path from www on up. it doesnt work. Im not sure how to write out my directory in the string. is there a function that can return my root directory or something. someone help me please!