Rusty.Metal Posted March 15, 2003 Share Posted March 15, 2003 i used the tutorial here how could i make the login so when they login it sets the cookie with thier usename and password... and how could i make a page that checkes for the cookie and if its there login useing the name and pass?? -thanks in advanced Link to comment Share on other sites More sharing options...
0 Rusty.Metal Posted March 15, 2003 Author Share Posted March 15, 2003 bump Link to comment Share on other sites More sharing options...
0 Rusty.Metal Posted March 19, 2003 Author Share Posted March 19, 2003 some one Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted March 20, 2003 Veteran Share Posted March 20, 2003 just use $_COOKIE['cookie_name'] for the name you set the cookie as... Link to comment Share on other sites More sharing options...
0 ike Posted March 20, 2003 Share Posted March 20, 2003 an "all in one" page design i created, each page verifies the user. if cookie, verify it, and if it's right, start a session if it's wrong, show login page and die() elseif session, verify it (optional), if it's right continue loading the page, else show login page and die() elseif the user just posted their uname/pass verify it and if they wanted to set a cookie else just start a session. Link to comment Share on other sites More sharing options...
Question
Rusty.Metal
i used the tutorial here how could i make the login so when they login it sets the cookie with thier usename and password... and how could i make a page that checkes for the cookie and if its there login useing the name and pass??
-thanks in advanced
Link to comment
Share on other sites
4 answers to this question
Recommended Posts