m: Brandon Orther [EMAIL PROTECTED]
To: PHP User Group [EMAIL PROTECTED]
Sent: Saturday, February 17, 2001 5:03 AM
Subject: [PHP] Dir? Can I get a dir listing of the current dir my php file
is in?
Hello,
I am looking for a way to get a dir listing of the current dir my
phpscript
is in a
don Orther; PHP User Group
Subject: Re: [PHP] Dir? Can I get a dir listing of the current dir my
php file is in?
Hi,
You could try this:
$script_name = getenv("PATH_TRANSLATED");
$dir_name = dirname($script_name);
$d = dir($dir_name);
$i = 0
2 matches
Mail list logo