Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/06/2004, 09:00
Avatar de benti
benti
 
Fecha de Ingreso: octubre-2001
Ubicación: Benidorm
Mensajes: 413
Antigüedad: 22 años, 6 meses
Puntos: 0
Evitar que el navegador muestre index.php?id=1774

Pues eso como hago para que el navegador en la barra de direcciones muestre si paso una variable tipo index.php?id=213
He pillado este codigo de un libro pero no hace nada:
Código PHP:
$documentLocation $_SERVER['PHP_SELF'];
if (
$_SERVER['QUERY_STRING']){
$documentLocation .= "?" $_SERVER ['QUERY_STRING'];

__________________
Seguro que ahora me sale mejor!