Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx-0.8.50
- To: nginx-ru@xxxxxxxxx
- Subject: Re: nginx-0.8.50
- From: "codenet" <nginx-forum@xxxxxxxx>
- Date: Wed, 08 Sep 2010 04:31:50 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=7LfWsNxGytFwJu4O4nKS1EtOhrT6K4q6K6KlJ4DY3kY=; b=CHb4jNUO73gMhcSX2D1oA9z/0p6PvfliPISV49bZTemSaIOJncqTt6Y76V3EnI+uLK/gThU7PpX9G4OqL7Q5V87u2i/dEBErDYV7Kb9e03Zo7EUYCep7wGYPM3FxbM2B;
- In-reply-to: <20100902150324.GB89653@xxxxxxxxxxxxx>
- References: <20100902150324.GB89653@xxxxxxxxxxxxx>
Спасибо.
secure_link_md5
$secure_link_expires.$file.PASSWORD;
Что не правильно делаю..?
$md =
base64_encode(md5(time()+3600.'.'./file.zip.'.PASSWORD'));
и ссылка получается
http://test/p/'.$md.','.time()+3600.'/file.zip
http://test/p/ZGQ1YzhmMjJiYmNiNWM2ZjVhYzM3ZTkyZjVlNmM5ZTA=,1283957763/file.zip
Но всё равно $secure_link не пускает = ""
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,126363,128301#msg-128301
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|