note 6049 deleted from function.readdir by philip

From: Date: Fri, 08 Nov 2002 01:50:54 +0000
Subject: note 6049 deleted from function.readdir by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39111@lists.php.net to get a copy of this message
I recommend modifying the above. Replace two lines and add one: // $path = str_replace ("//","/",$sPath.$val); // echo "$path<br>"; echo "$sPath/$val<br>"; The last character of the argument to this function should be a slash: GetDirArray ("/home/httpd/html/mywebsite/");

« previous php.notes (#39111) next »