You could just use an apache (or other web server) alias:

 

www.test.com/article -> www.test.com/article.php

 

where article.php uses:

 

<?php

$uri_vars = explode('/', $_SERVER['PATH_INFO']); foreach ($uri_vars as
$var)

            if ($var != "")

                        echo $var . "<br>";

?>

Reply via email to