views:

12

answers:

0

i want to do /par/par/par now i do it with the following function but i would like to know if this is possible in .htaccess

function exploder($data)
{
    $parameters = explode('/',$data['id']);

    return $parameters;
}

and the amount of parameters should be variable

the result are something like this url/par1/par2/par3 this could be none or more parameters when they reach the server it should look something like this url.php?par1=$1&par2=$2 and so on