Receive Parameters from the URL line in Mod_Harbour

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
byron.hopp
Posts: 254
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Receive Parameters from the URL line in Mod_Harbour

Post 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 ...
Thanks,
Byron Hopp
Matrix Computer Services
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Receive Parameters from the URL line in Mod_Harbour

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply