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

Reading an MS Access Database file on *NIX platform using PHP

P: n/a
I'm building a small web application for a friend using PHP. He'd like to
use MS Access to keep the data in, and update the data on the site by FTP'ing
Access files he edits on his machine up to the web host.

The web host is unix-based (FreeBSD, slightly hacked by Verio, I believe), so
this means COM functions aren't available. ODBC was my next thought, but I've
never used it, and there are a few things I don't understand. Setting up a
DSN is one of them -- apparently this isn't as simple as constructing a string,
and all the tutorials I can find seem to involve going into a Windows control
panel and making a setting. This of course will not be possible, since there
are no windows control panels on FreeBSD.

Can anyone offer any quick tips on how to use the odbc database functions or
PEAR::DB to query data from an MS Access file sitting on a UNIX box?

Thanks in advance!
Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Weston C wrote:
I'm building a small web application for a friend using PHP. He'd like to
use MS Access to keep the data in, and update the data on the site by FTP'ing
Access files he edits on his machine up to the web host.

The web host is unix-based (FreeBSD, slightly hacked by Verio, I believe), so
this means COM functions aren't available. ODBC was my next thought, but I've
never used it, and there are a few things I don't understand. Setting up a
DSN is one of them -- apparently this isn't as simple as constructing a string,
and all the tutorials I can find seem to involve going into a Windows control
panel and making a setting. This of course will not be possible, since there
are no windows control panels on FreeBSD.

Can anyone offer any quick tips on how to use the odbc database functions or
PEAR::DB to query data from an MS Access file sitting on a UNIX box?

Thanks in advance!

You could upload a csv file and then import it into mysql with "LOAD
DATA INFILE 'filename' INTO table". You can create a csv file from
Access with "Save as".

Michiel.

Jul 16 '05 #2

P: n/a
Michiel <michiel@...NO...SPAM!*.2see.nl> wrote in
news:3f***********************@news.xs4all.nl:
You could upload a csv file and then import it into mysql with "LOAD
DATA INFILE 'filename' INTO table". You can create a csv file from
Access with "Save as".


You can do that?

Excuse me, I'll be over in the corner, kicking myself... :-)

Pete.
Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.