May be you need some login/password ? Or the PHP program need write access to
the directory where the MDB database is ? (to create *.ldb file)
$sql = "DRIVER={Microsoft Access Driver (*.mdb)} ;
DBQ=". realpath($db) ." ;
uid=admin ;
pwd=$pass ;" ;
Otherwise, I don't know if you need something special in php.ini, but I'm not familiar
with such connections to Windows database.
Some explanations here : http://fr2.php.net/manual/en/ref.com.php
If the PHP script is not on the same machine as the database, I think you should
enable "com.allow_dcom" in php.ini .
(another direction if you're completely stuck here is to use ODBC instead of
ADOD😎