PHP Code:
function fetch_vars_array()
{
$infos = explode('/', str_replace('.html', '', $_SERVER['PHP_SELF']));
$infos = $infos[count($infos) - 1];
$infos = explode('-', $infos);
$vars = array(
'id' => $infos[0],
'pagenumber' => $infos[1]
);
return $vars;
}
I see how it is creating the mod_mime/rewritten version of the link, but where exactly in its code does it recognize the .php file in its mod_mime html URL format? For some reason it does not recognize the URL change on my server except for the index page from this script.