Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/09/2009, 16:33
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: no me funciona el $_SERVER['HTTP_REFERER']

Edita tu .htaccess

Código:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ 404.php?pag=$1 [L,QSA]
Esto hara que cualquier direccion que no exista sea redirigida a 404.php y en $_GET['pag'] puedes obtener la direccion, sin http ni nombre de dominio; haz tus pruebas y luego nos cuentas como te fue.

Edito: Debes tener habilitado mod_rewrite en Apache
__________________
- León, Guanajuato
- GV-Foto