Samurai Fox Posted February 24, 2014 Share Posted February 24, 2014 How to grant access to only selected passcode? And to need to login into Disqus profile ( http://disqus.com/ ). 1.- So I give user a passcode that he than uses to access member-only stuff (so, it's a closed site) 2.- and later on he uses his/her Disqus profile to be part of community. 3.-and to have pc/ device remember that passcode was already inputted (like on Steam where you have to give you pc/ device a name) Thank you Link to comment Share on other sites More sharing options...
justsomeguy Posted February 24, 2014 Share Posted February 24, 2014 Are you asking how to uniquely identify a particular machine? If so, that's not possible. Link to comment Share on other sites More sharing options...
davej Posted February 25, 2014 Share Posted February 25, 2014 He means like an auto-logon cookie. Link to comment Share on other sites More sharing options...
Samurai Fox Posted February 25, 2014 Author Share Posted February 25, 2014 He means like an auto-logon cookie. yap...I just don't know how to make one Link to comment Share on other sites More sharing options...
MarkT Posted March 18, 2014 Share Posted March 18, 2014 yap...I just don't know how to make one I'm not 100%, but if you use a normal log in form, with a checkbox, you need to check that the log in is valid, the checkbox for remember me has been ticked, then you need to use $_COOKIE['auto'] == "true"; then on your website, use <?PHP if($_COOKIE['auto'] == "true") { if logged in stuff here } else { } ?> I think this is right. You might want to check it first though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now