note 24177 added to function.is-dir

From: Date: Thu, 08 Aug 2002 15:59:49 +0000
Subject: note 24177 added to function.is-dir
Groups: php.notes 
Request: Send a blank email to php-notes+get-34535@lists.php.net to get a copy of this message
I am having some trouble building a dynamic menu. I want to be able to just create a new folder in a named menu folder and have the folder name automatically put in the list. I have been able to output the list but have been unsuccessful in linking from the root directory to the index.php inside the folder(ex. http://server/menu/Home/index.php). The script is located in the root directory. This command doesnt output right. $file = the directory inside the menu folder whose name im using in the menu... print "<a href=\"".$file."\index.html">".$file."</a><br>"; -- http://www.php.net/manual/en/function.is-dir.php http://master.php.net/manage/user-notes.php?action=edit+24177 http://master.php.net/manage/user-notes.php?action=delete+24177 http://master.php.net/manage/user-notes.php?action=reject+24177

« previous php.notes (#34535) next »