|
|
|
|
áòèé÷ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nginx + perl md5
On 5/4/12, X-Thief <nginx-forum@xxxxxxxx> wrote:
> perl_set $md5_cookie 'sub {
> use Digest::MD5 qw(md5_hex);
> return md5_hex($cookie_test1$cookie_test2);
> }';
>
> ÷ÅÒÎÏ ÌÉ?
ðÏÞÔÉ:
perl_set $md5_cookie 'sub {
use Digest::MD5 qw(md5_hex);
my $r = shift;
return md5_hex($r->variable('cookie_test1').$r->variable('cookie_test2'));
}';
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|
|
|