Connecting to access 97 using php on Linux -
You can easily set me up on smart people without the internet being wasted at any time .
Our company still uses 97 MDB files for some legacy applications and I would like to be able to connect these databases and would like to inquire using php / apache running on the Linux box. Upgrading the database is not an option, so I have to use them in the current format.
So the question is, is it possible and if so, how would I have to go about this?
User code below:
$ dbName = $ _SERVER [" DOCUMENT_ROOT "]" products \\ products.mdb "; If (! File_exists ($ dbName)) {dead ("Could not find database file."); } $ Db = new PDO ("ODBC: driver = {Microsoft Access driver (* .mdb)}; dbq = $ dbnm; uid =; pwd =;"); Do you have PDO & amp; ODBC extenstions in the PHP.INI file.
Comments
Post a Comment