Yeah, like bluewalrus said, you could try to have it so that it reads the query string for it. You could use explode to determine the actual file name, then have it execute the query string. Problem is, $_SERVER['QUERY_STRING']; might not find the query string since the extension .php is missing, and you're having problems with it.
PHP Code:
<?php
$ex = explode("?", $_SERVER[REQUEST_URI]); // explode the url
foreach($ex as $x) {
$s .= $x;
}
$replaced = str_replace($_SERVER['PHP_SELF'], $s); // remove query
if($replaced == 'something') {
// execute code
}
?>
Have you also considered this may be a .htaccess problem? That might be another solution. It seems very abnormal that php would have a problem executing/determining a query string, even w/o the .php extension.
HTH
Bookmarks