[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Userdb password security/ Security ?
****** message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net> ******
".cory.trese." wrote:
>
> ****** message to minivend-users from ".cory.trese." <digital@specialty-books.com> ******
>
> I think this is what I want to do. Someone would like to be able to submit
> what they know about user (may be everything upto the customer's credit card
> number.)
>
> They'd like for me to be able to pick this information up and use it, and it
> may be in addition to a one click search.
>
> Is this impossible, or am I SOL? I'd really like to be able to do this
> (*wink*.)
>
> Hans, what you are suggesting is that I use this code:
>
> >[perl arg="cgi scratch"]
> > $Safe{'scratch'}->{"anyvariable1"} = $Safe{'cgi'}->{"anyvariable1"};
>
> to collect the data at the end of the URL they are passing, and then place the
> [tag op...] at the bottom to create a redirect page? Do you think I would be
> able to create an [tag op...] that would redirect them to the results of the
> one click search passed? (oh, and thank you for your help, btw!)
>
[DEL]
Cory,
i have trouble with my mental capability of english. It is very poor.
If my little bit of clue is right, you are asking for explanation about
this codes?
In this case, a page with a form tag transfer all variables with his
value to the named target.
The target get all variable names and his values. In this case, it is a
page with such kind of this codes like
[perl arg="cgi scratch"]
$Safe{'scratch'}->{"anyvariable1"} =
$Safe{'cgi'}->{"anyvariable1"};
[/perl]
You can use [scratch anyvariable1] what you wish.
If you want a one click search in another host and displaying the
results in your own host, you can write a href like (for example)
<a
href="http://www.yourdomain.com/cgi-bin/yourshop/scan/ml=10/cs=yes/su=yes/se=search-for-Cory">
otherwise this example canīt solve your problem. In this case, save your
searchpage via your browser. Read the source. You get the clue, how to
write a page with a form tag and to use this in another host (donīt
forget to remove all session id and so on). In you entry page to get
data, i donīt know a good solution. I know a solutions with a
javasrcipt. For example...
1. The entry page:
[perl arg="cgi scratch"]
$Safe{'scratch'}->{"anyvariable1"} =
$Safe{'cgi'}->{"anyvariable1"};
$Safe{'scratch'}->{"the-string-to-search"} =
$Safe{'cgi'}->{"the-string-to-search"};
[/perl]
[tag op=header interpolate=1]
Status: 302 moved
Content-type: text/html
Location: [area href="goon.html"]
[/tag][set mv_no_cache]1[/set]
2. The page "goon.html"
<HTML>
<HEAD>[tag flag build][/tag]
<TITLE>MOVE 1</TITLE>
</HEAD>
[set mv_put_session]Yes[/set]
<BODY Onload="document.forms[0].submit();">
<FORM ACTION="[process-target main]" METHOD=POST>
.
.
<INPUT TYPE=hidden NAME="mv_orsearch" VALUE="[scratch mv_osearch]">
<INPUT TYPE=hidden NAME="mv_searchtype" VALUE="text">
<INPUT TYPE=hidden NAME="mv_case" VALUE="[scratch mv_case]">
<INPUT TYPE=hidden NAME=mv_sort_field VALUE="[scratch mv_sort_field]">
<INPUT TYPE=hidden NAME="mv_substring_match" VALUE="[scratch
mv_substring_match]">
.
.
<INPUT TYPE=hidden NAME="mv_searchspec" SIZE=[scratch
the-string-to-search]>
.
etc.
Please wait a moment! Your search resultpage will be build once
more!<BR>
<BR><BR>
If your browser is stalling, please click the OK-Button!<BR>
(Maybe you have deactivate javascipt in your browser?)
<BR>
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="search">
<INPUT TYPE=image SRC="icon/OK(s).gif" BORDER=0 NAME="mv_todo.search"
ALIGN="ABSMIDDLE"></TD>
</FORM>
</BODY>
</HTML>
Donīt forget to place this
[set mv_put_session]Yes[/set]
in your page.
I hope, i have understand you right! If not. Please write your question
to an idiots like me!
Regards,
Joachim
BTW:
Look at www.buchonline.net. Move to the bottom of the first page
(srchfrom page).
There are some blue icons. Choose the icon "Baker&Taylor". Typ into the
field "Autor" a name "Clancy".
Click the yellow button "Suchen".
Click the link "Clancy, T.: Airborne: A Guided Tour....".
Click the yellow button "In Warenkorb legen".
Click the yellow button "Bestellen".
Click the link "Bestellung an buch online".
And voila, you have this items in your own basket.
(You have not this items in your own products.asc. It is comming from
another database.)
This is the principle, what i am talking about.
It is not optimal. I am not ready.
Is it this what you want?
--
-------------Hans-Joachim Leidinger---------------------
-
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