Custom Search

News World

May 6, 2011

Create a Log In Page via PHP Script (3)

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:

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now