in reply to Re: CGI Parameters
in thread CGI Parameters

Thanks for your reply. Just a quick question. What would $q->param('DELIVERMESSAGE') return if DELIVERMESSAGE is not set to equal anything?.

ie. If the only thing that is passed is
MyScript.pl?DELIVERMESSAGE OR MyScript.pl?MESSAGECOUNT
How would I be able to tell whether they wanted DELIVERMESSAGE or MESSAGECOUNT??
As for the sessions or cookies, the answer is no.
Thanks, Gerard.
Update: I see that roger has answered my question below. It was the defined bit that I was really missing in my understanding

Replies are listed 'Best First'.
Re: Re: Re: CGI Parameters
by stonecolddevin (Parson) on Jan 12, 2004 at 02:57 UTC
    I would use $ENV{'QUERY_STRING'} then, if you don't have name/value params.

    dhoss
    "and I wonder, when I sing along with you if everything could ever feel this real forever? if anything could ever be this good again? the only thing I'll ever ask of you, you've gotta promise not to stop when I say 'when'", she sang