Ver Mensaje Individual
  #6 (permalink)  
Antiguo 13/04/2010, 14:33
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 15 años, 4 meses
Puntos: 334
Respuesta: funcion php para leer contenido de texto

Código PHP:
Ver original
  1. if(!preg_match('/^([\w\.]{3,30})@([\w]{2,20})\.([a-z0-9]{2,6})(\.[a-z0-9]{2,6}){0,3}$/i', $element)){
  2.     echo 'El email tiene un formato erroneo';
  3. }
__________________
More about me...
~ @rhyudek1
~ Github