I am using php 4.3.9 on linux,
(ps - when i do php -v it prints-
PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies)
And I am having this problem.
I have a script that connect to a database (mssql) and performs several queries
The script works fine when being run from a browser
But doesn’t work when being run from the command line
To test this I used the following commands:
print "before ";
$ link = @mssql_connect("MY_DB", "sa", "" ) or die("Could not connect!");
print "after";
it did print the "before" but didn’t get to print the "after"
and it doesn’t execute the queries following these lines.