"); */ // $ind should be 2 for full domains, 3 for subdirectories, etc. $ind = 2; // abort virtual directory structure as soon as "index.php3" shows up if ($url_array[$ind] == $page) { include($page); exit(); } else { $shortname=$url_array[$ind]; } $ind++; if (isset($url_array[$ind])) { if ($url_array[$ind] == $page) { include($page); exit(); } else { $function=$url_array[$ind]; } } $ind++; if (isset($url_array[$ind])) { if ($url_array[$ind] == $page) { include($page); exit(); } else { if (is_numeric($url_array[$ind])) { $id = $url_array[$ind]; include_once($page); } else { echo ('Invalid ID specification ('.$url_array[$ind].'). Return home.'); exit(); } } } include_once($page); ?>