Class Base-36 (alphabets and numbers as digits) conversion

Recently I find me writing code that requires having a “code” for each item saved. To make my tasks easier and portable, I have created a PHP class called base36 to automate the task of converting to and from base10 (integer). The class is included below. A second class base26 is included in case you’d prefer to use just alphabets. Continue reading “Class Base-36 (alphabets and numbers as digits) conversion”

Easy Automated cPanel BackUp

Hi there,

After attempting a manual backup of 75 sites, i got tired and tried to google an answer to my issue i found this: except this meant a cron job, and probably creating a file per domain. for 75 domains i felt too lazy to try that. so I extended it and encapsulated it in a class. Here’s the script I use now:

Continue reading “Easy Automated cPanel BackUp”