[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Angelo Zanetti
not too sure but can your database name be a path?? >>> Rui Francisco <[EMAIL PROTECTED]> 11/10/2004 4:28:21 PM >>> Its a simple script $_SERVER['utilizador']='user'; $_SERVER['pass']='pass'; $_SERVER['host']='localhost or IP address'; $_SERVER['db_name']='c:/path/dbname.fdb'; include_once('DB.

[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Rui Francisco
Its a simple script $_SERVER['utilizador']='user'; $_SERVER['pass']='pass'; $_SERVER['host']='localhost or IP address'; $_SERVER['db_name']='c:/path/dbname.fdb'; include_once('DB.php'); $dsn="ibase://".$_SERVER['utilizador'].":".$_SERVER['pass']."@".$_SERVER['host']."/".$_SERVER['db_name']; $lig

[PHP-WIN] Re: [PHP] Shell Script error

2004-11-10 Thread Angelo Zanetti
well maybe you are trying to connect to localhost which could be fine for the server but not from commandline... send more info. >>> Rui Francisco <[EMAIL PROTECTED]> 11/10/2004 2:06:09 PM >>> Hi, I have a small problem with a PHP script with Pear DB The problem is the following: I'm creating a