{"id":27,"date":"2022-07-15T11:45:00","date_gmt":"2022-07-15T11:45:00","guid":{"rendered":"https:\/\/www.glencoulson.com\/?p=27"},"modified":"2024-12-06T11:47:27","modified_gmt":"2024-12-06T11:47:27","slug":"advanced-php-login-script","status":"publish","type":"post","link":"https:\/\/www.glencoulson.com\/index.php\/2022\/07\/15\/advanced-php-login-script\/","title":{"rendered":"Advanced PHP login script"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I coded an advanced login script with Tokens and Roles to be the front gate to a couple of upcoming projects I\u2019m working on, and one old project I never built a front end to. This script includes encrypted passwords, password reset, and username discovery the last two features via email.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The script records \u2018registration date\u2019 and \u2018last login\u2019 to welcome the user with a welcome statement or anniversary date, and reports the last logged in date in the header so the user can know if somebody else has successfully logged in to their account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have some additional plans to include later like being able to review steps they took in their last login, and how many items\/orders\/or things they accomplished in the past calendar year. It\u2019s hard to get that rolling however when this is just the login script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m not making this public because I don\u2019t want hackers to find Holes in my work and I\u2019m password protecting the download so It\u2019s only available by me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I coded an advanced login script with Tokens and Roles to be the front gate to a couple of upcoming projects I\u2019m working on, and one old project I never built a front end to. This script includes encrypted passwords, password reset, and username discovery the last two features via email. The script records \u2018registration [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[5],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-coding","tag-computers"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":1,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.glencoulson.com\/index.php\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}