Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. if(isset($_POST['pic_type']) && $_POST['pict_type'] != 0 && $_POST['pict_type'] != 86) {
  2.   $_POST['pic_type'] = mysql_real_escape_string($_POST['pic_type']);
  3.   $result = mysql_query("SELECT parent_product_id FROM affilates WHERE id=".$_POST['pic_type']); //guess
  4.  
  5.   if (mysql_num_rows($result) == 0) //no parent_product_id assocated to that pic_type
  6.     //doNormalCaptcha
  7.   $row = mysql_fetch_row($result);
  8.   $captchaType = $row[0];
  9.  
  10.   if($captchaType == 86)
  11.     //doAsirra
  12.   else
  13.     //doNormalCaptcha
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement