Jump to content

How to grant access to only selected passcode

Recommended Posts

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 post
Share on other sites
  • 3 weeks later...


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...