A Simple PHP Class to Back Up MySQL

My web host is cutting over from allowing shell scripts to requiring scripting languages instead. I had wanted to write a script in PHP, so I figured this is a good opportunity.
Here is a simple PHP class to back up a MySQL database and blanket-delete old backups from a directory.
Continue reading “A Simple PHP Class to Back Up MySQL”