'$header'"; if($submit1) { $date_app=mktime_to_mysqltime(time()); if(!$name) $error.="
  • Please enter your name.
  • "; if(!$cname) $error.="
  • Please enter your Company Name.
  • "; $chrtocheck="^[A-Za-z0-9\._-]+@([A-Za-z0-9][A-Za-z0-9-]{1,62})(\.[A-Za-z][A-Za-z0-9-]{1,62})+$"; $chrtocheck1 ="^[A-Za-z0-9\._-]+@([A-Za-z][A-Za-z0-9-]{1,62})(\.[A-Za-z][A-Za-z0-9-]{1,62}) (\.[A-Za-z]{1,2})+$"; if($email) { if((!ereg("$chrtocheck",$email))&&(!ereg("$chrtocheck",$email))) { $error.="
  • Please enter valid email address.
  • "; } } if(!$email) $error.="
  • Please enter your Email.
  • "; if(!$tel) $error.="
  • Please enter your telephone.
  • "; if($tel) { if((ereg("^[A-Za-z]",$tel))) $error.="
  • Incorrect Telephone number
  • "; } if(!$country) $error.="
  • Please enter your country.
  • "; if(!$namec) { $error.="
  • Please enter your name of your Credit Card.
  • "; } if(!$cardno) { $error.="
  • Please enter your Credit Card No.
  • "; } if ((intval(strlen($cardno))!=16)) { $error.="
  • The credit card number should be 16 digits and numeric
  • "; } if(!$expmonth) { $error.="
  • Please select your Credit Card Expiry Month.
  • "; } if(!$expyear) { $error.="
  • Please select your Credit Card Expiry Year.
  • "; } if(!$cardtype) { $error.="
  • Please select your Credit Card type.
  • "; } if (!$digback) { $error.="
  • Card Verification Number is mandatory
  • "; } else { if (strlen($digback)!=3) { $error .="
  • Card Verification Number has to be the \"last three numbers\" of the multidigit number at the back of your card
  • "; } } if($zipc) { // begining of if ($zip) ### Giving number and alphabet validation to zip because in UK the zip contains alphabets if(eregi("[^0-9a-z-]",$zipc)) { $error .="
  • Invalid Zip
  • "; } }//end of if ($ccbills_zip) if ($telephonec) { if(eregi("[^+0-9-]",$telephonec)) { $error .="
  • Invalid Telephone
  • "; } }//end of if NOT (!$telephone) $chrtocheck="^[A-Za-z0-9\._-]+@([A-Za-z0-9][A-Za-z0-9-]{1,62})(\.[A-Za-z][A-Za-z0-9-]{1,62})+$"; $chrtocheck1 ="^[A-Za-z0-9\._-]+@([A-Za-z][A-Za-z0-9-]{1,62})(\.[A-Za-z][A-Za-z0-9-]{1,62}) (\.[A-Za-z]{1,2})+$"; if($emailc) { if((!ereg("$chrtocheck",$emailc))&&(!ereg("$chrtocheck",$emailc))) { $error.="
  • Please enter valid email address of you credit card information.
  • "; } } if(!$error) { $name=addslashes($name); $cname=addslashes($cname); $email=addslashes($email); $tel=addslashes($tel); //checking if he is not a member if yes insert into the ynfx_pw_archive_nonmember $sql="insert into ynfx_ir_archive_subscribe_nonlogged values(null, '$name', '$cname', '$email', '$tel', '$country', '$id_i', '$price', '$date_app', 'C', 'U', 'N', 0)"; $result=mysql_db_query($DATABASE,$sql); $idcc=mysql_insert_id(); if(mysql_error()) echo ("Unexpected Error".mysql_error().$sql); $cardno=ereg_replace ('[^0-9]+', '', $cardno); $string = $cardno; $key ="altufaltu" ; $enc_text = encrypt($string,$key); $dec_text = decrypt($enc_text,$key); $card_no=$enc_text; $h= date("H", mktime() ); $i= date("i", mktime() ); $s= date("s", mktime() ); $expdate=1; $stamp_exp=mktime($h,$i,$s, intval($expmonth), intval($expdate), intval($expyear)); $date=mktime_to_mysqltime(time()); $namec=addslashes($namec); $card_no=addslashes($cardno); $streetc=addslashes($streetc); $cityc=addslashes($cityc); $statec=addslashes($statec); $zipc=addslashes($zipc); $login=""; $sql = "insert into creditcard_ir values('', '$login', '$namec', '$card_no', '$cardtype', '$stamp_exp', '$price', '$countryc', '$date', '$digback', '$streetc', '$cityc', '$statec', '$zipc', '$telephonec', '$emailc', '$idcc', 'N')"; $result=mysql_db_query($DATABASE,$sql); if(mysql_error()) error("Unexpected Error".mysql_error()); header("location:thankyou.php?id_i=$id_i"); exit; }//end of if error } ?> <? echo $SITENAMEDISPLAYBIG ?>.com - <? echo "$SITE_BY_LINE";?>
    Market Intelligence

     


    Name * :
    Company name * :
    Email * :
    Telephone * :
    Country * :

    Card Holder's Name *:     
    Credit Card No *:     
    Payment Method :    >Visa >Master Card 
    Expiration Date :     
    Card Verification Number :Please turn to the back of your card. There is a multidigit number mentioned. Key in the last three digits of the number.    
    Address details where you receive your credit card bills
    Street    
    City    
    State    
    Zip    
    Country    
    Telephone Number    
    Email    
    Amount :