You could use some PHP like this:
PHP Code:
<?php $path = "."; $dir_handle = @opendir($path) or die(""); while ($file = readdir($dir_handle)) { $tags = @get_meta_tags($file); if(preg_match("/.php/", $file)) { echo "<a href='$file'>".$tags['title']."</a><br />"; } else { echo ""; } } } closedir($dir_handle); ?>
This is a modified version of the readdir() function, so it will list all the .php files, inside the specified directory, take out the meta content that is inside the file, and then display it. So to list the 'special' name of the page, put in the html page:
HTML Code:
<meta name="title" content="Special Title" />
- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
|