note 24177 rejected from function.is-dir by jimw
| From: | jimw@php.net | Date: | Thu, 08 Aug 2002 18:53:17 +0000 |
| Subject: | note 24177 rejected from function.is-dir by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34552@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>";