note 109069 added to function.glob

From: Date: Mon, 18 Jun 2012 16:59:36 +0000
Subject: note 109069 added to function.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-188674@lists.php.net to get a copy of this message
To build onto Mike McGrew's great idea and work, here's the same with folders and files separated. This could go on every default page to create a super-navigable website. ----------- Folders Only <?php foreach (glob("*/..*") as $filename) { echo "<a href="".."">".."</a>\\ "; } ?> Files Only <?php foreach (glob("*.*") as $filename) { echo "<a href="".."">".."</a>\\ "; } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 24.149.255.225 ---- Manual Page -- http://www.php.net/manual/en/function.glob.php Edit -- https://master.php.net/note/edit/109069 Del: integrated -- https://master.php.net/note/delete/109069/integrated Del: useless -- https://master.php.net/note/delete/109069/useless Del: bad code -- https://master.php.net/note/delete/109069/bad+code Del: spam -- https://master.php.net/note/delete/109069/spam Del: non-english -- https://master.php.net/note/delete/109069/non-english Del: in docs -- https://master.php.net/note/delete/109069/in+docs Del: other reasons-- https://master.php.net/note/delete/109069 Reject -- https://master.php.net/note/reject/109069 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188674) next »