Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/07/2009, 23:47
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Eregi VS preg_match

preg_match() necesita delimitadores.

Código php:
Ver original
  1. if(preg_match("/$pattern/i", $user_agent))