Regular expression to move legacy array index PHP code to PHP 5.4.x

 This was a bit of  headache; after we upgraded our servers to use php 5.4 we had a few clients who’s sites that went down.  For the most part it was a simple fix, of prepending a globalizer file to all page requests via htaccess, or just updating the session handling routines as various functions like session_register(), session_destroy().  However one of the sites was heavily relying on old style array syntax so things like unquoted associative array keys such as $var[index] (instead of the proper $var[“index”] were...

read more

CentOS list recent installed updates, YUM, RPM

 rpm -qa --qf '%{INSTALLTIME} (%{INSTALLTIME:date}): %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -n

read more

Restart Backup Exec Services Script

 cd C:\Program Files\VERITAS\Backup Exec\NT\ bemcmd -o503 timeout 60 bemcmd -o502 exit

read more

Gump Law Offices

Gump Law Offices

 Gump Law Offices http://www.gumplaw.com Custom website design and Artwork Social media integration Optimized for SEO Built on WordPress platform

read more

Seasonings of Salonica

Seasonings of Salonica

 The Spicy Greek – Seasonings of Salonica http://www.spicygreek.com Built from scratch website design Custom product management interface Interactive user recipe submission Social media integration Optimized for SEO

read more