sgottenyc wrote:
Quote:
Has anyone had any success running SQL Server Express on Vista with
Apache via PHP?
No, but I've done this on Linux. The code you posted looks fine. Turn on
all error reporting at the top of your file:
ini_set('display_errors', TRUE);
error_reporting(E_ALL);
and see what error messages you get. It's likely to be a problem with your
setup, not the code.
Quote:
-I searched google for solutions. In addition to the above, one
suggestion was made that a file called ntwdblib.dll needs to be
upgraded. I believe this is an IIS specific file since I don't have
it on my system, so it shouldn't apply in my case.
You definitely need this file. See the "Requirements" section on this
page:
http://uk.php.net/manual/en/ref.mssql.php
I don't think SQL Server Express includes this file, but it does come with
SQL Server 2000. It's probably also in SQL Server 2000 SP4, but that's
quite a big download. Ooh look... it seems someone's uploaded that file
here:
http://www.gigasize.com/get.php/1106430/ntwdblib.dll
I wonder who that was.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~
http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!