Month: February 2011

Naked Password

Want to have a little fun with your clients? Want to make checking password security fun? Try Naked Password! From nakedpassword.com (If you are developing a site for IBM or one of the Big 3, please don’t implement this as it can be seen as offensive) What is naked password? The whole idea of naked…


Regular Expressions: a simple, easy tutorial

From phi.lho.free.fr I added this page which has awesome information because the original aite was unavailable when I checked it. Just to be clear, this is not my work and copyright info is listed at the bottom. It needed reposting, so here it is in all it’s g33ky glory… —————————————————————- First, you may ask, if…


Cpanel on VPS licensing issue

If you utilize WHM/CPanel an a VPS instance, there is an issue which has been identified in which cpkeyclt is looking for the server IP when attempting verify license information via /usr/local/cpanel/cpkeyclt and not finding the correct IP that matches the listed cpanel license. According to cpanel, they have run across this behavior several times…


Kill defunct PHP processes

If you have run into defunct php processes that keep running on the server which causes the CPU load to increase, read on… Normally to kill these process we can use ps aux | grep -i “defunc” | awk {‘print “kill -9 “$2?} | sh but this is not a permanent solution. The root cause…


Turn off ssl cPanel redirection

SSL redirection can be found in WHM >> Tweak Settings >> Redirection Always redirect to SSL [?] On Off = off Non-SSL redirect destination = Origin Domain Name Hostname Origin Domain Name default SSL redirect destination = Origin Domain Name SSL Certificate Name default Hostname Origin Domain Name Logout redirection URL = No redirection default…


Memcache vs PHP Memcache

or Memcache vs. Memcached It seems that PHP has two memcached libraries named memcache and memcached. What is the difference and how do you know which one to use? The newer memcached PHP extension was created recently by some guys at Digg. It has some new features and performance enhancements. Here is a quick backgrounder…