Evan,
Here is a super simple function I wrote to help things out with
directories.
function dir_list($input) {
$dir = @opendir($input) or die ("Invalid Directory");
$dirlist = array();
while ($dirlist = readdir($dir)) {
$file[] = $dirlist;
}
clo
Working with PHP 4.2.3==> IIS5.1, WinXP Pro, NTFS
I made this simple page to be able to brouse throught folders and files, but
it seems that it doesn't recognize folders when I go outside the directory
in which is contained the .php file.
Any Ideas?
Thanks
*+++
";
$i=0
i've installed Apache 1.3.20 and PHP 4.06
i've added the following strings to the httpd.conf file
ServerName localhost2
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "c:/inetpub/localhost2
Options Includes FollowSymLinks MultiViews
AllowOverride None
Order al
Hi alles.
I'm having some problems with the opendir() command.
Basically what i want to do is create an index from the files on my CD-rom.
But opendir("e:\\"); wont do the trick.
Any suggestions?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F