Created
December 4, 2017 21:27
-
-
Save serhanozcan/d1502616a5c033e38afd77980b187691 to your computer and use it in GitHub Desktop.
Php ile e-posta kontrolü yapmak (Güvenlik Önlemi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$email = "[email protected]"; | |
if ( filter_var($email, FILTER_VALIDATE_EMAIL) ){ //Burası gelen değerin mail türünde olup olmadığını denetler. | |
print 'e-mail gecerli'; | |
} else { | |
print 'e-mail gecersiz!'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment