Forum Moderators: coopster
if (!$conn = new COM("ADODB.Connection"))
exit("Unable to create an ADODB connection<br>");
$strConn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" . realpath("database.mdb");
$conn->open($strConn);
So where should i put in the PWD= as i have tried this but got nowhere! Any help on this matter would be appreciated, regards meclive.
$conn = new COM("ADODB.Connection") or die("Cannot start ADO");
$conn->Open("Provider=SQLOLEDB; Data Source=localhost;
Initial Catalog=database; User ID=user; Password=password");