daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jan 25th, 2016 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(sanitize_text_field( $_POST['com_submit']) != '' {
  2.  
  3.         if ($_REQUEST['bg'] != "681")  {
  4.            
  5.             $error_msg = __('Грешен отговор на въпроса.','');
  6.            
  7.         }
  8.  
  9.         else {
  10.  
  11.         $firstname=sanitize_text_field( $_REQUEST['com_firstname'] );
  12.         $lastname=sanitize_text_field( $_REQUEST['com_lastname']);
  13.         $username = sanitize_text_field(  $_REQUEST['com_username'] );
  14.         $email = sanitize_text_field(  $_REQUEST['com_email']  );
  15.         $bg = sanitize_text_field(  $_REQUEST['bg']  );
  16.         $password = $wpdb->escape( sanitize_text_field( $_REQUEST['com_password']));
  17.         $status = wp_create_user($username,$password,$email);
  18.         $succress ='';
  19.         $error_msg='';
  20.      
  21.            
  22.         }
  23.  
  24. The rest of your code here ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand