
24/11/2011, 14:36
|
| | Fecha de Ingreso: diciembre-2007
Mensajes: 96
Antigüedad: 17 años, 3 meses Puntos: 2 | |
Respuesta: Higlight para mis usuarios que entran desde google Cita:
Iniciado por chwc bueno, hay una variable en php que es $_SERVER['HTTP_REFERER'] que devuelve la pagina anterior en la que uno estaba, entonces de ahi puede sacar lo que uno buscaba.
hay una funcion en internet aqui http://www.liamdelahunty.com/tips/ph...le_referer.php
fijate:
Código PHP:
Ver original$thereferer = strtolower($_SERVER['HTTP_REFERER']); // see if it comes from google if (strpos($thereferer,"google")) { // delete all before q= // delete q= // delete all FROM the next & onwards } // we have the results. }
Saludos
Interesante¡ lo ando checando, gracias por el aporte cualquier cosa al respecto les andare reportando |