Re: [PHP-WIN] opendir

2003-02-09 Thread Dash McElroy
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

[PHP-WIN] opendir

2003-02-09 Thread Evan
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

[PHP-WIN] opendir trouble (accessing directories)

2001-09-03 Thread Paul Kalyakin
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

[PHP-WIN] opendir();

2001-06-18 Thread Diverge
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