[PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Molteni Davide
Hi, I have a problem with all my php scripts that use MS SQL Server, but only when I start them from the command line I'm using Apache 2.2.4 with PHP 5.2.5 on a server Win2k3 with SP2, and MS SQL Server 2000 on another Win2k3 server. If I run the same script using a webbrower as an internet page

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Molteni Davide
, Helsinki, Finland Molteni Davide wrote: Hi, I have a problem with all my php scripts that use MS SQL Server, but only when I start them from the command line I'm using Apache 2.2.4 with PHP 5.2.5 on a server Win2k3 with SP2, and MS SQL Server 2000 on another Win2k3 server. If I run

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Molteni Davide
trouble with that... Greetings, Krister Karlström, Helsinki, Finland Molteni Davide wrote: Hi, thanks for your quick answer, but in the script I don't use sessions variables to store host, user and password, I wrote something like that: $sc=mssql_connect(hostname,1433,userid,password