PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm using a config.php file which i use in my database class to change the values however this warning...
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/creative/public_html/demo1/classes/database.class.php on line 16
makes be believe that the functions are not picking up the values in teh config file. Could someone explain if i am not doing something right?
<?php
ob_start();
session_start();
// The $siteURL is the full URL of where the current site is...
$site = 'demo1';
// Database username, host, password and name
$default_dbname = '*****';
$dbhost = 'localhost';
$dbusername = '*****';
$dbpassword = '*****';
?>