search for: db_login

Displaying 1 result from an estimated 1 matches for "db_login".

Did you mean: c_login
2005 Sep 13
1
populating asterisk realtime tables from configfiles
Here is my file to parse and load extensions. No wise cracks about my code.... DB.php is the Pear DB module. (pear.php.net) <?php include('DB.php'); $db_host = ''; $db_name = ''; $db_login = ''; $db_pass = ''; $db_table = 'extensions_table'; define(DBINFO,"mysql://$db_login:$db_pass@$db_host/$db_name"); $db = DB::CONNECT(DBINFO); if(!DB::isError($db)) { //we got the db connection $extensions = file('extensions.conf');...