Can input parameters be passed via a URL?

xscottehx

Member
Hi All,

I am wanting to call a url externally that will then pass two parameters into my program. Internally i can use the RUN program.p(INPUT "hello", INPUT "world"). I have tried passing in a url followed by a query string such as www.mysite.com/myprogram/?param1=hello&param2=world which doesnt work. I can take the parameters out of my program and it will work fine i was just wondering if the above was possible and if so how?

Thanks in advance,

Scott
 

FrancoisL

Member
You can use the Get-Value function included in the webspeed includes to get your URL paramaters.

cParam1 = Get-Value("param1").
cParam2 = Get-Value("param2").
 
Top