inc_randcode.php 503 B

1234567891011121314151617
  1. <?php
  2. CURSCRIPT != 'wap' && exit('FORBIDDEN');
  3. include MYMPS_ROOT . '/include/MympsVerify.fun.php';
  4. session_start();
  5. $data = read_static_cache('authcodesettings');
  6. $Line = $data['line'] ? $data['line'] : false;
  7. $Noise = $data['noise'] ? $data['noise'] : false;
  8. $Type = $data['type'];
  9. $Distort = $data['distort'];
  10. $Incline = $data['incline'];
  11. $Close = $data['close'];
  12. $Number = $data['number'];
  13. $_SESSION['chkcode'] = GetMympsVerify($Type, $Noise, $Line, $Distort, $Incline, true, $Close, $Number);
  14. ?>