A question I have ...
An application / web page, for example the hblog, opens by default with index.prg ...
How can I send a parameter to index.prg and receive it to be able to use it in the application / website ???
Imagine that I have a desktop application to which I send you to open my website, but I need to know that it is "so-and-so" who calls me on the website.
mi.ip.mi.web / index.prg <parameter>
This is what would be more or less
And then in my web application, just like this ...
myparameter: = PValue (1)
Please call like this: index.prg?name1=value1&name2=value2
your index.prg
Code: Select all
function Main()
local hPairs := AP_Args()
? ValToChar( hPairs )
return nil
https://www.w3schools.com/tags/ref_httpmethods.asp