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 ...
Receive Parameters from the URL line in Mod_Harbour
-
- Posts: 390
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Been thanked: 1 time
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42731
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 95 times
- Been thanked: 108 times
- Contact:
Re: Receive Parameters from the URL line in Mod_Harbour
Byron,
test.prg?param1=Hello¶m2=world
From test.prg call AP_Args()
Live sample:
https://www.modharbour.org/modharbour_samples/webservice.prg?param1=hello¶m2=world
test.prg?param1=Hello¶m2=world
From test.prg call AP_Args()
Live sample:
https://www.modharbour.org/modharbour_samples/webservice.prg?param1=hello¶m2=world