Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

temporary username & password

Status
Not open for further replies.

kawnz

Technical User
Jan 30, 2003
67
US
I have a PDF file that I'd like to protect.

What I want to do, is have people pay money, and then they get sent an e-mail with a temporary username and password at which they can view/download the file.

I want to have that login expire, so that they cannot then forward the URL to a friend and they get the same information.

How do I go about creating this?

Any help would be appreciated ;)
 
simple db with a datastamp...

fields

id
username
login
datestamp
date_expires

if date between datestamp and expiry then show the file
else
don't show the file Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top