Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] MySql - php3 - Apache: no data From: Martin Fischer (fischer <email protected>)
Date: 01/31/99

If I use:
-----------------------
function Connect () {
global $DBHost,$DBUser,$DBPass;
}
-----------------------
everything is fine.

But if I use:
------------------
MYSQL_Connect($hostname, $username, $password) OR die(Can't connect to
database);
------------------
error msg: file contains no data
------------------

ENV: MySql, php3 as Apache module, virtuell server, BSD

shell access to MySql is ok.
php3 info is ok.
php3.ini is in /path/to/conf/

Please help a MySql newbie!

Thanks & RGS,

Martin Fischer
http://www.refugees.net/

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>