Je pourrais utiliser de l'aide ici. J'utilise ceci pour corriger mon URL , mais je ne peux pas comprendre comment supprimer l'extension .php. L'URL ressemble à ceci maintenant: http://mydomain.com/page.php/foo/123/bar/456
function decode_URL_parameters() {
$path = @$_SERVER['PATH_INFO'];
$url_array=explode('/',$path);
array_shift($url_array);
while ($url_array) {
$_GET[$url_array[0]] = $url_array[1];
array_shift($url_array);
array_shift($url_array);
}
}
Des idées?
/ Tobias