January 10, 2013March 20, 2013How to, PHP Adding or Subtracting Time to/from MYSQL Formatted Timestamp in PHP Just replace “+1 day” with what ever you need to add. ex “+1 year, +1 day” etc. Have fun. $date = date(“Y-m-d”,strtotime(“+1 […]
January 10, 2013January 10, 2013PHP Easy Way to Convert Month Number into Month Names with PHP And here it is.
November 20, 2012November 26, 2012Apache2, Linux, PHP, Ubuntu Add Ftp Users and Change Home Directory To add a user account, use the following syntax, and follow the prompts to give the account a password and identifiable characteristics […]
November 16, 2012Linux, PHP Easily Run PHP Script As A Cron Job Linux I’ve nicely written PHP script that I’d like to run as a cron job. I’m using CentOS 4.5 as server with Apache […]
September 4, 2012September 4, 2012Apple, Fix, How to, Mac, PHP PHP Cookies don’t work on Apple/Mac – Safari and Opera Browsers/iPhone, iPad, iPod Devices – FIXED If you’re having problems with using PHP $_COOKIES with Safari, Opera, iPad, iPod, iPhone, ibla bla or any Apple product. Please put […]
July 10, 2012July 10, 2012PHP Limit Characters in a String Simple enough. echo substr($string, 0,15);
June 27, 2012June 27, 2012PHP, Wordpress WordPress Shortcode to Display the Loop Just paste this into your theme’s function file.
March 25, 2012March 25, 2012How to, PHP, Programming Grammatically Correct PHP Title Capitalization Function Sometimes a developer has to get their titles from crazy sources that aren’t always capitalized correctly. Nobody wants to change all these titles […]