Thread: [SOLVED] Login
View Single Post
  #3 (permalink)  
Old Jan 1st, 2008, 13:42
simonb's Avatar
simonb simonb is offline
Blog Moderator

Join Date: Dec 2006
Location: Norwich
Posts: 700
Blog Entries: 4
Thanks: 4
Thanked 2 Times in 2 Posts
Re: Login

On the first line of login.php
PHP: Select all

<?php include('./Connections/Links.php'); ?>

Connections/Links.php

PHP: Select all

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
HTTP="true"
$hostname_Links "localhost";
$database_Links "links";
$username_Links "root";
$password_Links "";
$Links mysql_pconnect($hostname_Links$username_Links$password_Links) or trigger_error(mysql_error(),E_USER_ERROR); 
?>
Reply With Quote