Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/02/2006, 14:52
Avatar de allhen
allhen
 
Fecha de Ingreso: septiembre-2005
Mensajes: 243
Antigüedad: 19 años, 7 meses
Puntos: 1
De acuerdo De PHP a ASP (Solo tigres)

<? PHP
$aux = substr( $_SERVER['REQUEST_URI'], strlen('/'));
if( substr( $aux, -1) == '/'){
$aux=substr( $aux, 0, -1);
}
$urlARRAY___ =explode( '/', $aux);

/////////////VALORES A UTILIZAR
$CATEGORIA=$urlARRAY___[0];
$SUBCATEGORIA=$urlARRAY___[1];
$ID=$urlARRAY___[2];
?>


quien puede?
__________________
En esta vida todo es posible ... excepto vencer a la muerte .