Re: [PHP-WIN] 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

Re: [PHP-WIN] Shell Script error

2004-11-10 Thread Luis Moreira
I am not exactly an expert on PEAR, but if the error says "connect failed", you are not reaching the DBand/or the server were it resides. Check the way you are connecting : - Is the server named correctly ? - If the access is authenticated, are you using the correct username/password ? - Do you