[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Sending scratch variables to UserTags
****** message to minivend-users from "Mats Andersson" <Mats@brain.syh.fi> ******
[snip]
Thanks for yr reply. Your suggestion about cecking the scratch
helped. When I build the scratch like
[set name=kk interpolate=1]
[scratch VERSION]&[scratch STAMP]&[scratch REF]&[scratch PAID]&LEHTI&
[/set]
it somehows put a whitespace at the end!! When I strip this off it
works!!!
Thanks again for your help!!!
> >
> > Version is 3.14
> >
> > Any help GREATLY appreciated.
>
>
> Mats,
>
> first of all, did you look into your error.log?
> Did you check the value of all scratch variables like
>
> Test Version: [scratch VERSION]<BR>
> etc...?
>
> Hmmm...how about
>
> -------------
> UserTag md5hash Routine <<<<EOF
> sub {
> my $version = $Safe{'scratch'}->{'VERSION'};
> my $stamp = $Safe{'scratch'}->{'STAMP'};
> my $ref = $Safe{'scratch'}->{'REF'};
> my $paid = $Safe{'scratch'}->{'PAID'};
> my $_ = $version . "&" . $stamp . "&" . $ref . "&" . $paid . "&LEHTI&";
> my $hash = MD5->hexhash($_);
> return $hash;
> }
> EOF
> -------------
>
>
> and test it with
>
> Test the hash: [md5hash] <BR>
>
> and donīt forget to restart your minivend server. Donīt forget to look
> into your error.log for any hints.
>
> Attention: Iīm new in perl too.
>
> Good lucks!
>
> Regrads,
>
> Joachim
>
> --
> Hans-Joachim Leidinger
> buch online jojo@buchonline.net
> Munscheidstr. 14 FAX: +49 209 1671449
> 45886 Gelsenkirchen FAX: 0209 1671449
>
> -
> 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
- Mats
Soft Brains Ab Oy
0500-661356
Pie Iesu domine, dona eis requiem....[bonk]
-
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