I'm also having a problem with including file into and include file.
my script reads.

( (strpos($PHP_SELF,"admin/")) ? include('../includes/mysql.inc.php') :
include('includes/mysql.inc.php') );
@mysql_pconnect($mysqlDBhost,$mysqlDBuser,$mysqlDBpass)
 or die ("Database access error. Please contact the site webmaster at
$webmasterEmail.");
@mysql_select_db($mysqlDBdatabase)
 or die ("Couldn't Select Database. Please contact the site webmaster at
$webmasterEmail.");

my server is running php4.1.2 and there is not problem
i am also running php4.1.2 but reads back a problem.
this one....

Warning: Failed opening 'includes/mysql.inc.php' for inclusion
(include_path='c:\php4\pear') in
D:\Apache\htdocs\auction4sale\includes\config.inc.php on line 47
Database access error. Please contact the site webmaster at .

any suggestions ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to