By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,161 Members | 1,045 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,161 IT Pros & Developers. It's quick & easy.

PHP-file connect to Access

P: 10
I cant connect to my database which is already uploaded to my web directory folder? I already put the exact location from my server but sill it says no such file..:

$dbq = "http://www.12345.org/cartoon/cartoon.mdb";
if (!file_exists($dbq)) { echo "<br />No such file as $dbq"; }

$db_connection = odbc_connect("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=$dbq", "ADODB.Connection", "password", "SQL_CUR_USE_ODBC");


Please help.

Any sample code will be appreciated!
Dec 7 '06 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
Since this looks more an Access question to me, I will transfer it to the Access forum.

Ronald :cool:
Dec 8 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.