Database Hack


SUBMITTED BY: Guest

DATE: Sept. 13, 2013, 5:13 p.m.

FORMAT: Text only

SIZE: 494 Bytes

HITS: 978

  1. Funnpoint.com database authentication
  2. <?php
  3. $username = "as_funnpoint";
  4. $password = "fpD506.angel";
  5. $hostname = "localhost";
  6. //connection to the database
  7. $dbhandle = mysql_connect($hostname, $username, $password)
  8. or die('<h1 align="center">Unable to connect to MySQL</h1>');
  9. //select a database to work with
  10. $selected = mysql_select_db("db_funnpoint",$dbhandle)
  11. or die('<h1 align="center">Unable to connect to database.');
  12. ?>

comments powered by Disqus