[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: getting the complete search query string back....
This ones a keeper... try: [data session last_url] that returns
everything after the cgi's name...
Thanks to all who helped! :-)
jason.
Kyle Cook wrote:
>
> ****** message to minivend-users from Kyle Cook <kyle@invisio.com> ******
>
> Jason,
>
> Have you thought about perl:
> IE: grabbing the $ENV PATH_INFO string on the result page and
> pick out the parts you need and set them to a scratch var if you need to
> (all on the results page).
>
> NOT TESTED:
>
> [perl scratch interpolate=1]
> my $qry = $ENV{'PATH_INFO'};
> $qry =~ s/FOO//;
> # ^^^^^ remove what you don't need
> $Safe{'scratch'}{'one_click'} = $qry;
> return '';
> # remove last 2 lines if you just want the path to show up here.
> [/perl]
>
> Then use [scratch one_click] to return where needed.
>
> Kyle Cook
--
Jason Korkin - jkorkin@korksoft.com
KORKSOFT
+1 (603) 472-8262
http://www.korksoft.com
Design, Hosting, Custom Programming, Database Mgt., E-Commerce