Graxeon Posted December 23, 2009 Share Posted December 23, 2009 You know how some sites have links that run on tokens? Tokens are links that only stay alive for a certain amount of time (1 use, 1 day, 1 week, etc). Can someone explain to me what exactly it's called? I know there are different method / systems that do it but idk which one would be best for me. Personally I'm going for 1 use "tokens" for links. I also want to know how they're generated only by my server. I can only use PHP and don't have access to a database. Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/ Share on other sites More sharing options...
Daniel0 Posted December 23, 2009 Share Posted December 23, 2009 Expiring links, perhaps? Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/#findComment-983346 Share on other sites More sharing options...
laffin Posted December 23, 2009 Share Posted December 23, 2009 tokens/point systems/currency systems/other buy/purchase systems. they are all basicly the same. But your should have a general overview of how the system works before implementing a system. Purchasing/recieving tokens User usage of tokens and so forth but if its just a fifo link system, than you really dont need tokens or other systems. Just have to pop off the link from the stack, when you use the link Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/#findComment-983351 Share on other sites More sharing options...
Graxeon Posted December 25, 2009 Author Share Posted December 25, 2009 Expiring links, perhaps? Yeah this...can you point me in the right direction as to how to do it? (a guide or something) Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/#findComment-983906 Share on other sites More sharing options...
ignace Posted December 25, 2009 Share Posted December 25, 2009 I have found this page of O'Reilly always usefull http://www.oreillynet.com/pub/a/php/2002/12/05/one_time_URLs.html Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/#findComment-983990 Share on other sites More sharing options...
Graxeon Posted December 25, 2009 Author Share Posted December 25, 2009 Awesome! I tinkered around with it a bit and it works VERY nicely! I like your sig, btw Quote Link to comment https://forums.phpfreaks.com/topic/186192-what-do-you-call-the-token-thing/#findComment-984016 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.