Information générale
Catégorie:
Codage, syntaxe et commandes
>>Okay since the other threads went nowhere, NEW IDEA.
>>
>>Is it possible (and how)to send php code to a webserver through VFP? And i guess I should alsop ask about passing variable data through that as well.
>
>If you are or learn to be proficient in PHP (not that hard for a programmer) then the answer is yes, you can send PHP with VFP. The trick is to have a PHP program on the server than can receive the code and act on it. This is how I run my web sites. I use VFP 9 TEXT ... ENDTEXT to create the PHP code then FTP it to the server then execute it on the server. It executes far faster than any other method I have tried and allows you to update many MySQL records with one command. On the down side, it takes a while to create the infrastructure (took me about six months) but once you have both ends working the rest is a snap.
I am doing a form of that to send sql updates to the database but not with php. This is for a SOAP API interaction that needs a nested array() to upload image data. Honestly if I can figure out FTP-ing from VFP I could just uploat the image that way and save the trouble. Because there are a number of API functions I would like to integrate that use nested arrays I need to chase this for a while.
Thank you
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement