Posted By

yanek1988 on 09/15/11


Tagged


Versions (?)

SMS dotpay.pl


 / Published in: PHP
 

  1. function isValidSmsCode($usluga, $kod){
  2. $content = file('http://dotpay.pl/check_code.php?id=_dotpay_id_&code='.substr($usluga,3).'&check='.$kod.'&del=1&type=sms');
  3. return isset($content[0]) && (int)$content[0] == 1 ? true : false;
  4. }

Report this snippet  

You need to login to post a comment.