Re: php auction 2.1

From: Date: Mon, 02 Jun 2003 06:14:34 +0000
Subject: Re: php auction 2.1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149755@lists.php.net to get a copy of this message
PEAR is a module for PHP, it is a common space. If you put a file there you can include it any file you want by just given the command include("file.php") in any file... you have to put the password.inc.php file to your php "include" directory otherwise it does not matter if you edit the config file or not. "Chris Prior" <linuxguru@tiscali.co.uk>, iletide þunu yazdý news:20030602001742.76307.qmail@pb1.pair.com... > im having problems with the script to include the password.inc.php file can > anyone help ? > > these are the error's > > Warning: Failed opening > '..//home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/passwd.inc.p > hp' for inclusion (include_path='.:/usr/share/pear') in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 89 > > Warning: Access denied for user: 'apache@localhost' (Using password: NO) in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 93 > > Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' > (Using password: NO) in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 93 > > Warning: Access denied for user: 'apache@localhost' (Using password: NO) in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 97 > > Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' > (Using password: NO) in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 97 > > Warning: MySQL: A link to the server could not be established in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/includes/config.inc.php > on line 97 > > Warning: Supplied argument is not a valid MySQL result resource in > /home/httpd/vhosts/abbytech.co.uk/httpdocs/auction/admin/login.php on line > 42 > > >

« previous php.general (#149755) next »