$currentDir = "/"; $dir = opendir($currentDir);
I would like the script to open the directory it is placed in, however I can't get it to do that. I've tried: "/" and "../" and "" as the parameters for the $currentDir variable
thanks!
just adding the email tracker.... sorry for the double post
http://www.php.net/manual/en/function.getcwd.php
or use ./ (which references the current directory. ../ (references the parent directory) and / (references the root directory [on unix])