Create file config.php in to "dudes" folder
--------------------------------------------------
copy the script below to config.php
--------------------------------------------------
1. < ? php
2.
3. $db_hname = "localhost";
4. $db_uname = "root";
5. $db_pword = "";
6. $db_name = "db_ips";
7. $link = mysql_connect($db_hname, $db_uname, $db_pword) or die("Gagal ....!");;
8. if (!$link) {
9. die('Could not connect: ' . mysql_error());
10. }
11. mysql_select_db($db_name);
12.
13. ? >
No comments:
Post a Comment