Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 118,921 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 1,992 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Temporary URL for users for limited time

 
Reply to this topicStart new topic

Temporary URL for users for limited time

captain786
post 14 Jul, 2008 - 12:07 PM
Post #1


New D.I.C Head

*
Joined: 14 Jul, 2008
Posts: 1

Allowing customers to order electronic contracts. Originally contracts are stored in a password protected dir. The user needs to pay first, then the contract file is moved to a temporary folder. A temporary URL is given to the user to download this contract (the product he has bought). After 24 hours, the contract file is deleted out of the temporary folder because only this user that has paid should have access to download it.
User is offlineProfile CardPM

Go to the top of the page


MitkOK
post 14 Jul, 2008 - 12:13 PM
Post #2


D.I.C Regular

Group Icon
Joined: 9 Aug, 2007
Posts: 300



Thanked 9 times

Dream Kudos: 250
My Contributions


You can set a cron job expiring in 24 hours for example.

This post has been edited by MitkOK: 14 Jul, 2008 - 12:14 PM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/13/08 04:49AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month