Ver Mensaje Individual
  #7 (permalink)  
Antiguo 09/03/2009, 19:52
Avatar de dART
dART
 
Fecha de Ingreso: enero-2009
Ubicación: Madrid
Mensajes: 246
Antigüedad: 16 años, 1 mes
Puntos: 7
Respuesta: Urls amigables

Hola,

He encontrado algo sobre cómo recogerlas, pero me falla cuando tiene más de 2 variable (seccion/galeria/categoria/books)

Código PHP:
$get $_SERVER['QUERY_STRING'];

  if(!(empty(
$get))){
    
$get explode("&"$get);
    
$get str_replace("="""$get);

    for(
$i=0$i count($get); $i++){
     
$url str_replace("=",""$get[$i]);
    }

   echo 
"<br /><br />" $url;