Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/02/2011, 22:01
Avatar de xalupeao
xalupeao
 
Fecha de Ingreso: mayo-2008
Ubicación: Santiago, Chile
Mensajes: 749
Antigüedad: 16 años
Puntos: 12
Respuesta: Evitar acceso a archivos PHP cuando hay url's amigables

Código PHP:
Ver original
  1. if($_SERVER['PHP_SELF'] == $_SERVER['REQUEST_URI']){
  2.     header('location: index.php');
  3. }

espero que te sirva =P
__________________
Hosting en Chile en Silverhost - La solución en Hosting en Chile.