I think i am finally getting what I am looking for. But still it doesn't work. What am I doing wrong?
<?php
function processURI() {
global $REQUEST_URI; // Define our global variables
//
$array = explode("/",$REQUEST_URI);
$num = count($array);
$url_array = array();
for ($i = 1 ; $i < $num ; $i++) {
$url_array["arg".$i] = $array[$i];
}
return $url_array;
}
?>
<?php
$myarray = processURI();
?>
<a href="/articles.php/627">Article 627</a>
<a href="/articles.php/628">Article 628</a>
when i am doing it than i will get my articles.php but it says that the articleId is invalid.
This is how the link looked before
http://www.paris-marketplace.com/articles.php?articleId=627
Thank you in advance
Andrea