Advertisement
dehqan

Untitled

Aug 29th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <?if(!empty($_POST['famil']) ){
  2. if(preg_match('/[^\x{600}-\x{6FF}\w]+/u',$_POST['famil'])){
  3. echo '<span style="color: red;">*** کاراکتری که استفاده کردید مجاز نیست</span><br style="color: red;">';}
  4. else{$famil=$_POST['famil'];}}
  5. else{
  6. if (isset($_POST['famil'])){
  7. echo '<span style="color: red;">*** فیلد پر نشده است</span><br style="color: red;">';}
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement