Re: Setting post variables

Joshua <[email protected]> Mon, 2 May 2005 08:26:34 -0600
Newsgroups gmane.comp.lib.nexista.devel
Message-ID <[email protected]>
On Monday 02 May 2005 6:29, Albert Lash wrote:
> Hi Joshua,
>
> Remember your suggestion to set query params using the php protocol?
>
> <param name="php:$_POST['from_date']" type="text"/>
>
> Now I need to set the variable in the case that nothing is currently
> selected. Is it possible to set the post variable from the sitemap? I'm
> checking out Path and there doesn't seem to be any set function.

Not sure what you mean. Do you just want so have a value for 
$_POST['from_date'] if none selected?  besides the default param?

Path doesn't set values - it just gets them. You can set them using flow of 
course or straight from php for things like session, globals etc.... all path 
is is a way for xml to get these otherwise hard to get vars


>
> Thanks
>
> Al