|  | 
PHP ile eposta uzantısı kontrolü fonksiyonu - PHP Webmaster bilgi bankası, knowledge base Webmaster Araçları| AnaSayfa > PHP  > PHP ile eposta uzantısı kontrolü fonksiyonu |  |  |  | Kategori | : PHP |  | Gönderen | : Admin |  | Tarih | : 2009-02-12 |  | Puan | : 0  | Katılımcı : 0 |  | Okunma | : 3887 |  |  |  |  |  |  |  |  | <?
 function eposta_kontrol($eposta, $uzanti) {
 $uzanti="/^$uzanti$/";
 $sonu= substr($eposta,(strpos($eposta,'@'))+1);
 $var= preg_match($uzanti,$sonu);
 return $var;
 }
 
 echo eposta_kontrol("wmaraclari@com.tr","com.tr");
 ?>
 
 
 | 
 | Yorumlar |  | Henüz Kimse Yorum Yapmamış, ilk yorumu siz ekleyin! |  | Yorum Ekleme Aparatı |  | Yorum Eklemek için lütfen sol menuden giris yapınız.. |  | Toplam 0 yorum listelendi. | 
 |