Hello,
Can anyone show me the absolute simplest way to call a VFP function which is housed on a web server from a client computer via a web browser?
Restrictions:
No ASP allowed. FOXISAPI confuses me (if you can make it simple, be my guest). No pay tools (i.e. WebConnection/WestWind).
Objective:
I'd like to be able to submit a name string, using an HTML form, to some VFP code (DLL/EXE/Whatever) that is sitting on a server. The code would then return a custom greeting, like...
...to the web browser.
Is this possible?
The closest I've come was to create a COM DLL and then use VBScript CreateObject() to access it. The flaw with this is that, I believe, the client machine must have the DLL registered. Also, it requires that the user enable ActiveX (therefore it only works in IE, and may be perceived as a security threat). The ActiveX part I can deal with, however. But I can't ask every user to register a custom DLL.
I'd be very interested to see what we can come up with. This could make a great FAQ if we succeed.
Thanks in advance! -Dan
Can anyone show me the absolute simplest way to call a VFP function which is housed on a web server from a client computer via a web browser?
Restrictions:
No ASP allowed. FOXISAPI confuses me (if you can make it simple, be my guest). No pay tools (i.e. WebConnection/WestWind).
Objective:
I'd like to be able to submit a name string, using an HTML form, to some VFP code (DLL/EXE/Whatever) that is sitting on a server. The code would then return a custom greeting, like...
Code:
RETURN "Hello "+cName+"!"
Is this possible?
The closest I've come was to create a COM DLL and then use VBScript CreateObject() to access it. The flaw with this is that, I believe, the client machine must have the DLL registered. Also, it requires that the user enable ActiveX (therefore it only works in IE, and may be perceived as a security threat). The ActiveX part I can deal with, however. But I can't ask every user to register a custom DLL.
I'd be very interested to see what we can come up with. This could make a great FAQ if we succeed.
Thanks in advance! -Dan