PHP Version of CFDump

I needed to debug a php script today. I needed to see the output of some queries. My first thought was cfdump. If I only had a way to do cfdumps in PHP. Well a quick search in Blingo revealed 3900 results. The first result is the only one I needed. dBug. It's exactly what I needed and best of all it is free. It is also very easy to use:

include_once("dBug.php");
new dBug($myVariable);

It can't get much easier than that.

phpBB Password Changing

Before CFMBB our company used the phpbb if our clients needed a forum. Getting the passwords for the admin area was always a pain. The client would forget their password and I would have to go in, change the email address for the administrator account and go through the reset process. A while ago I found a better way to do this and forgot to mention it. Simply go into your mysql client or command line and run this query:

Select md5('NewPassword');
Then you can cut and past the results into the password section in the database if you are using a gui or you could do something like this:
update phpbb_users set user_password = md5('NewPassword') where username='randy';
I am not sure if this will work in the V3 of phpbb or not. It works in the latest version of 2.x

BlogCFC was created by Raymond Camden. This blog is running version 5.7.