Steve Ellenoff wrote:
I was talking with a PHP programmer today and he asked me if you can
connect 'directly' to MySQL or SQL Server like PHP does in a VFP
program, or are you restricted to having to use ODBC. Can some of you
client/server gurus help answer these questions?
First, I wasn't aware you could connect directly to MySQL or SQL
Server, so how is the PHP language actually doing it?
PHP has Mysql access built in, if you compile with MySql Support. It's
turned on in PHP4, and turned off by default in PHP5, but is easy to
turn on.
If you want, I'll send you the PHP CHM file (6mb) or you can find it on
the PHP web site. Has step by step for enabling and using Mysql.
Pretty easy, actually.
Second, is there any way to connect from VFP without an ODBC connection?
Well...... you can generate PHP scripts from within vfp..... :-) I
haven't played with cursor adaptors at all, but I bet they can do it.
Also, I think there is something called Myodb? InnoDB? Something?
Anyway, I know there's another way, just don't remember what.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.