Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?
  2. ob_start();session_start();
  3. $hostname = "allala"; //your hostname (normally localhost)
  4. $data_username = "yeah_yeah"; //database username
  5. $data_password = "yesyes"; //database password
  6. $data_basename = "yeah_yes"; //database name
  7. $conn = mysql_connect("".$hostname."","".$data_username."","".$data_password."");
  8. mysql_select_db("".$data_basename."") or die(mysql_error());
  9. $bonuspoints=10; //bonus points awarded for new users
  10. $mainpointsneeded=150; //max number of points needed before user can request voucher
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement