Verdant Falls
About
News
Campaign Log
Characters
NPCs
Geography
PlacesLore
Logfiles
\n"; foreach ($files as $file) { $title = Title($file); echo "
  • $title
  • \n"; } echo "\n"; // Function to get a human readable title from the filename function Title($filename) { $title = substr($filename, 0, strlen($filename) - 5); $title = str_replace('-', ' ', $title); $title = ucwords($title); return $title; } ?>