Page 1 of 1

Receive Parameters from the URL line in Mod_Harbour

Posted: Tue Mar 03, 2020 12:18 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

Posted: Tue Mar 03, 2020 5:52 am
by Antonio Linares
Byron,

test.prg?param1=Hello&param2=world

From test.prg call AP_Args()

Live sample:
https://www.modharbour.org/modharbour_s ... ram2=world