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
function kimlikNoDogrula( $kimlikno , $ad , $soyad, $dogumyili) | |
{ | |
$kimlikno = $kimlikno.''; | |
if ( !is_numeric( $kimlikno ) ) { | |
return false; // numerik degil | |
} | |
if ( !preg_match( '#[1-9]{1}[0-9]{10}#', $kimlikno ) ) { | |
return false; // ilk karakter sıfır olmamalı ve 11 karakter olmalı | |
} |