Category results for: Archived

Posted on , Archived

How I monitor my VPS for free!

Home made server monitoring with SMS alerts.

As I have moved over to a VPS server in the past 6 months I have run up against the paranoia of “is my server still running?” I had been using pingdom.com, a great service that pings a site every couple of minutes and notifies you of an outage. This was great when I was on a…

Posted on , Archived

Implemented Bcrypt to Hash Stored Passwords

If it's worth doing, it's worth over doing.

I made a large improvement to the way we hash our user passwords on Tentacle CMS. Originally Tentacle was using the default method of hashing passwords used in Dingo, This was a SHA1 hash. Still decent but not really up to newer standards. When a login is processed the username and password are submitted and…

Posted on , Archived

Recursive Glob

While building the upgrade script for tentacle I knew that the file I was going to work with would be a zip, and would contain many subfolders. PHP has a function called glob that finds files pathnames matching a pattern. It works really well but only goes one level deep, using the recursive_glob() function lets…

Posted on , Archived

Dingo a Lightweight MVC PHP Framework

I have been using a small PHP MVC Framework called Dingo Framework. Dingo is a Rapid Development Application Framework written in PHP by Evan Byrme. Dingo allows you to create dynamically changing websites easily and quickly. Dingo is a relatively new full-featured framework at a compact size of 70KB, It supports Fancy URL’s, Access Control…

Posted on , Archived

Work with RSS feeds using PHP and cURL

cURL or Client URL Library is a very powerful tool and its something that I recently had to use while working with two APIs one for Unfuddle and one for HelpSpot. PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many…