faqts : Computers : Programming : Languages : PHP : Database Backed Sites : Access

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

30 of 62 people (48%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How can I connect to a access database on remote network drive using PHP?

Apr 27th, 2005 05:50
Keyar Srinivasan, Tom Dunlap,


we can connect access database on remote network drive using PHP like 
this
$db = '\\\\dev1store\\tlc\\cy\\tlcmain.mdb';
//Create the ADO Connection
$conn = new COM('ADODB.Connection');
// Two different drivers that allow you to connect...
$db = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=".$db;
//$db = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=".$db;