MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: getting the complete search query string back....



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

At 12:46 PM 7/16/99 +0000, you wrote:
>******    message to minivend-users from Jason Korkin <jkorkin@korksoft.com> 
>    ******
>
>hi all,
>	here is a weird question....
>
>	I am building a one-click search:
>
>
>/cgi-bin/cart.cgi/scan/sf=vendor/se=telco/sf=plan/se=supert1/sf=type/se=burst
>
>	the question is, how can I get all of that back -- esp. when the sf's
>will be changing depending on where the person is, and hard-coding them
>is not allowed...
>
>	What I need back is:
>sf=vendor/se=telco/sf=plan/se=supert1/sf=type/se=burst
>
>	any ideas?
>
>	thanks,
>
>	jason.
>
>-- 
>
>Jason Korkin - jkorkin@korksoft.com
>KORKSOFT
>
>+1 (603) 472-8262
>http://www.korksoft.com
>Design, Hosting, Custom Programming, Database Mgt., E-Commerce
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list


http://www.invisio.com 
Web site design, database driven sites,
and shopping cart programming. 
Great sites, value priced!



Search for: Match: Format: Sort by: