Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I fire off a PHP program on a web server from a P
Message
 
To
25/06/2008 13:58:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01326693
Message ID:
01326751
Views:
18
>>I need to exchange data with a MySQL database on a web server. You can only get to the MySQL server from a program running on the web server. This is done for security. I have written some PHP programs and can run them from any web browser and they produce the desired data text files.
>>
>>Now I need to run them from within VFP 9 and, hopefully, in the background so the user does not see IE come up or interfere with the browser he/she already has open.
>>
>>After I run the PHP programs I then need to download the text files they create.
>>
>>I can upload/download with FTP if needed (I have a VFP lib that does it all) but I was wondering if there was any other way as the hosting service appears to not have secure FTP but does have HTTPS. (go figure)
>>
>>Any and all suggestions are welcome.
>
>Google for HTTP-Get and HTTP-Post (using WinHTTP or XmlHTTP COM componenents)
>or automate IE in a screen region far away or with IE.visible = .f. ....
>
>HTTPS is easier to work with from client side than SFTP and FTPS (which are different animals),
>and secure FTP (which is over here the thing most often abbreviated SFTP) is less secure than
>FTP over SSH (which at least here is abbreviated FTPS)
>
>HTH
>
>thomas

Thomas,
thanks for responding. I did a Google search (just kept entering VFP and web, http, etc) and I found exactly what I need at http://fox.wikis.com/wc.dll?Wiki~ReadUrl~VFP
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform