Web Development Articles

Calculate Difference In Dates/Elapsed Time with PHP DateTime Class

We are working on a web-based app that displays posts from various sources across the Internet. Since we grab the timestamp of the post, we thought it would be nice to display the age of the post with it (the time elapsed since the post was created). Here’s the solution we came up with.

Read more ›
Posted in PHP Tagged with:

UPDATE: Install wkhtmltopdf On CentOS 6.5

In a previous I discussed a way to install wkhtmltopdf on CentOS 6.5 server. To my knowledge, that way will still work, but I have found an even easier way.

Read more ›
Posted in Linux Tagged with: ,

CentOS Linux Guides and Walk-Thrus

This page is simply meant to be a one-stop page for me to collect and remember various tutorials and walk-thrus I have needed for CentOS Linux. I often forget how to do certain things after a long time has passed, so this helps me remember. I hope it helps others, as well.

Read more ›
Posted in Linux Tagged with: ,

Importing large CSV files into a MySQL database

We have a client that wanted to be able to upload a large CSV spreadsheet (> 300,000 rows) via a form in their web application, and save all the data into a database table in MySQL.

Read more ›
Posted in MySQL, PHP

Lookup, Get, and Set Registry Items In C#

Even though for years we have been strictly a LAMP developer (Linux, Apache, MySQL, and PHP), we have lately been presented an opportunity to work in Windows natively. As a result, we selected C# as the platform we would use, since, to us, it mostly resembled the OOP concepts that we already are familiar with and use in PHP.

Read more ›
Posted in Windows Tagged with: ,

Install go On CentOS 6

The GO Programming Language

I have been hearing a LOT about `go` lately (official go website), so I decided to install it on my local development server and take a quick look-see to see if it’s anything we should really look into.

Read more ›
Posted in Linux Tagged with: ,