
10/11/2015, 10:18
|
 | | | Fecha de Ingreso: febrero-2004 Ubicación: Tunja - Boyacá - Colombia
Mensajes: 627
Antigüedad: 21 años Puntos: 69 | |
Respuesta: black list en php no me funciona Ponlo así mejor:
Código PHP:
Ver original<?php $ip=$_SERVER['REMOTE_ADDR']; //aqui recojo la ip $consulta="SELECT COUNT(ip) AS Total from seguridad where ip='{$ip}'"; if($row['Total']>=2) { header('HTTP/1.1 403 Forbidden'); } ?>
__________________ Si te gustó la respuesta dale +1 HERNÁN G. SIABATO M. [email protected] |