Re: Simple example of expiring download pages?
| From: | Jason Wong | Date: | Sat, 21 Feb 2004 16:47:59 +0000 |
| Subject: | Re: Simple example of expiring download pages? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178450@lists.php.net to get a copy of this message | ||
On Saturday 21 February 2004 21:41, Brian Dunning wrote:
> Hi, I'm building a very simple online store and I need expiring
> download pages for people to download the items they purchased.
> Surprisingly, I couldn't find an example of this code online.
>
> I know how to do it in Lasso, and it's quite easy. You just search the
> database against download attempts or expiration time/date, and if it
> succeeds, return this (it's Lasso code but you get the idea):
[snip]
> Can anyone suggest the PHP code for this?
Loads of examples in the archives, search for "download file" or similar.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Those who can, do; those who can't, simulate.
*/