How to check ICQ number validity?
This will validate ICQ ID (number only). if (ereg(“^[0-9]{6,15}$”, $icq)) { echo ‘Valid’; } else { echo ‘Invalid; }
Read More »This will validate ICQ ID (number only). if (ereg(“^[0-9]{6,15}$”, $icq)) { echo ‘Valid’; } else { echo ‘Invalid; }
Read More »Don’t know how to transfer your domain out of GoDaddy? Can’t find how to get your domain EPP / Authorization Code from GoDaddy cluttered and irritating domain control panel? I feel your pain, I just recently transferred a domain out of GoDaddy. The domain in question transferred in 3 hours since the minute I initiate the transfer. This is how…
Read More »Just a few minutes ago, one of my cron that fetch current GeoIP.dat.gz file from MaxMind resolve to 404 Not Found. The cron is running monthly to update its GeoIP database. Its an Apache2 mod_geoip. This was the cron message: /etc/cron.monthly/geoip: –04:42:22– http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz Resolving www.maxmind.com… 67.15.94.80 Connecting to www.maxmind.com|67.15.94.80|:80… connected. HTTP request sent, awaiting response… 301 Moved Permanently Location: http://64.246.48.99/download/geoip/database/GeoIP.dat.gz…
Read More »MySQL is a powerful database engine (from my side of view ;-)) But it also might have several problem. Ie: a corrupted table after database crash. Here the simple way to backup your MySQL database or table from command line. Let’s start… To backup: Login to your server via SSH. I’m usually using the following format: mysqldump -u [username] -p…
Read More »Just a few minutes ago my php thumbnail creation script running out of control, causing thousands of thumbnails generated. I’m lucky enough to know this thing fast, a minutes late this script could fill in my server drive to the max. I FTP-ed to the server, but the FTP software I was using is limiting the number of files I…
Read More »A simple way to know what is the size of a directory using command line in human readable format. Login to your server using SSH. Format: du -hs some_folder/ Ie: du -hs public_html/ Good luck!
Read More »