jamesbond110 Posted January 3, 2008 Share Posted January 3, 2008 Hi, does anyone know if and how to do this: 1) Access a specified directory and look for all .php files. 2) Identify <title> and <meta keyword> tags. 3) Create a list attributing title and keywords to the .php files For example: Output: [a href=aa1.php]Title1[/a] | Keywords 1 [a href=aa2.php]Title2[/a] | Keywords 2 [a href=aa3.php]Title3[/a] | Keywords 3 [a href=aa4.php]Title4[/a] | Keywords 4 Any ideas and help for this nooblet? Quote Link to comment https://forums.phpfreaks.com/topic/84262-use-php-to-make-a-list/ Share on other sites More sharing options...
rajivgonsalves Posted January 3, 2008 Share Posted January 3, 2008 you can checkout the glob command in php http://php.net/glob Quote Link to comment https://forums.phpfreaks.com/topic/84262-use-php-to-make-a-list/#findComment-429119 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.