Page 1 of 1

Receive Parameters from the URL line in Mod_Harbour

PostPosted: Tue Mar 03, 2020 12:07 am
by byron.hopp
How do I receive and parse out the parameters which have been passed to a mod_harbour program.
Sets say I am printing a report and I want to pass the account number month, and year of record.

Thanks,

Byron ...

Re: Receive Parameters from the URL line in Mod_Harbour

PostPosted: Tue Mar 03, 2020 5:55 am
by Antonio Linares
Byron,

test.prg?param1=Hello&param2=world

From test.prg call AP_Args()

Live sample:
https://www.modharbour.org/modharbour_samples/webservice.prg?param1=hello&param2=world