You are here: Re: can have a time expired link? « HTML « IT news, forums, messages
Re: can have a time expired link?

Posted by JDS on 06/09/05 05:31

On Wed, 08 Jun 2005 14:18:25 +0000, diablo wrote:

> I want to offer a download to people for a certain amount of time - after
> the link expires.
>
> basically the setup is that they buy an ebook and receive an email with a
> link to download - but the link should only be valid for a week.
>
> anyway to do that?

If you are using Apache, you can set this up using mod_rewrite.

See:
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

Specifically the section titled "Time-Dependent Rewriting"

You can put the Rewriting directives in a .htaccess file in the same
directory on the server where the file(s) to which you wish to control
access.

later...

--
JDS | jeffrey@go.away.com
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация