SHARE
TWEET

Untitled

a guest Oct 4th, 2017 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $username = 'administrat0r';
  4. $password = 'tooeasy';
  5.  
  6. include("includes/config.inc.php");
  7. $pass = pass_code($password);
  8.  
  9. $values = array(
  10. "category" => "2",
  11. "featured_video" => "",
  12. "username" => $username,
  13. "user_session_key" => "777750fea4d3bd585bf47dc1873619fc",
  14. "user_session_code" => "10192",
  15. "password" => $pass,
  16. "email" => "webmaster@website",
  17. "usr_status" => "Ok",
  18. "msg_notify" => "yes",
  19. "avatar" => "0",
  20. "avatar_url" => "",
  21. "sex" => "male",
  22. "dob" => "1989-10-14",
  23. "country" => "PK",
  24. "level" => "1",
  25. "avcode" => "08c5a7bd48",
  26. "doj" => "0000-00-00 00:00:00",
  27. "last_logged" => "2011-02-10 10:22:41",
  28. "num_visits" => "86",
  29. "session" => "pub6e7fq5oj76vakuov2j03hm1",
  30. "ip" => "127.0.0.1",
  31. "signup_ip" => "",
  32. "time_zone" => "0",
  33. "featured" => "No",
  34. "featured_date" => "2009-12-03 15:14:20",
  35. "profile_hits" => "0",
  36. "total_watched" => "0",
  37. "total_videos" => "0",
  38. "total_comments" => "0",
  39. "total_photos" => "0",
  40. "total_collections" => "0",
  41. "comments_count" => "0",
  42. "last_commented" => "2011-02-07 12:56:46",
  43. "ban_status" => "no",
  44. "upload" => "0",
  45. "subscribers" => "0",
  46. "total_subscriptions" => "1",
  47. "background" => "0",
  48. "background_color" => "#ed0000",
  49. "background_url" => "",
  50. "background_repeat" => "no-repeat",
  51. "background_attachement" => "yes",
  52. "total_groups" => "3",
  53. "last_active" => "2011-02-14 08:43:25",
  54. "banned_users" => "test",
  55. "welcome_email_sent" => "yes",
  56. "total_downloads" => "0",
  57. );
  58.  
  59. $id = $db->insert(tbl('users'), array_keys($values), array_values($values));
  60. var_dump($id);
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
 
Top