Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting from MySQL
Message
 
To
18/03/2007 22:40:40
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
MS SQL Server
Miscellaneous
Thread ID:
01205341
Message ID:
01205460
Views:
16
Hi Mike,

That's true, some web hostings for security reasons prevent accessing MySql database via ODBC (they probably get too scared to open an extra port for that). This is such an inconvenience, but what one can do :)

There is a way to transfer data between VFP application and remote MySql database. A PHP script has to be created on the server. Then VFP application creates HTTP POST requests to send SQL commands to this script. The scripts connects to MySql database and processes SQL commands, then sends responses back to the VFP application.

The responses for SQL SELECT contain text-delimited data (for PHP programming simplicity, otherwise I would prefer XML) that VFP application automatically converts to cursors.

I created VFP and PHP modules and have been using them for some time with good results. If you want to try them, please send me an email or a private message.
Previous
Reply
Map
View

Click here to load this message in the networking platform