Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer Tutorials Blog:
Hacking Wordpress When You've Forgotten Your Password
May 22, 2008 @ 17:58:57

The Developer Tutorials blog has an article posted today about how you can "hack" your WordPress installation if you happen to forget the password for your account:

Do you have multiple Wordpress self-hosted blogs? If so, you've likely run into a scenario where you just can’t remember your password. With Wordpress 2.5 and 2.5.1 there’s an annoying bug that sometimes generates passwords that don't work when you click the "Forgot Password" option. [...] Wordpress resets the password internally (in the MySQL database) but the link that it sent you to activate that password fails to connect with the database effectively locking you out of your blog. In this scenario, at least for me, all the potentially viable solutions lead to dead ends.

His six step process involves an external script (use with caution, especially before you read the source) that reaches into your WordPress install and updates your admin account and sends out an email with the resulting password.

tagged: wordpress hack forgot password villageidiot script tool

Link:

DevShed:
Creating a Login Script for a PHP/MySQL Blogging System (Part 1)
Oct 03, 2006 @ 15:00:31

DevShed is starting up a new series this morning with this new tutorial, part one in the creation of a simple blogging system using PHP and MySQL.

In this three-part tutorial we are going to be creating an open blogging system. We are also going to provide scripts that will make it possible to switch to a closed blogging system. This article, which is the first part, will cover the creation of the login scripts for a closed system.

They start with a definition, the difference between an open blogging system and a closed one (if users have to register or not). They start with the creation of the database to store the users in followed by the PHP code for the simple login page. It uses sessions to keep track of which user is logged in. Of course, where there's a log in, there needs to be a log out and they give the simple code for that. Finally, they include a "forgot your password" script to help users when they can't remember the info they'd signed up with.

tagged: mysql blogging system login logout sessions forgot password mysql blogging system login logout sessions forgot password

Link:

DevShed:
Creating a Login Script for a PHP/MySQL Blogging System (Part 1)
Oct 03, 2006 @ 15:00:31

DevShed is starting up a new series this morning with this new tutorial, part one in the creation of a simple blogging system using PHP and MySQL.

In this three-part tutorial we are going to be creating an open blogging system. We are also going to provide scripts that will make it possible to switch to a closed blogging system. This article, which is the first part, will cover the creation of the login scripts for a closed system.

They start with a definition, the difference between an open blogging system and a closed one (if users have to register or not). They start with the creation of the database to store the users in followed by the PHP code for the simple login page. It uses sessions to keep track of which user is logged in. Of course, where there's a log in, there needs to be a log out and they give the simple code for that. Finally, they include a "forgot your password" script to help users when they can't remember the info they'd signed up with.

tagged: mysql blogging system login logout sessions forgot password mysql blogging system login logout sessions forgot password

Link:


Trending Topics: