by Keiron | Oct 5, 2006 | Website Scripts
Q: How do I set the correct permission for configure.php files while installing an OsCommerce template? A: Please, do the following steps: Rename the “catalog/install” folder or delete it. Reset the permissions on...
by Keiron | Sep 23, 2006 | Linux
One of my servers was subjected to a SPAM attack again yesterday (via PHP using an insecure php mail() call I suspect). Thankfully the user was tracked down quickly and suspended. Leaving some 10,000 messages on the queue!! Digging out the Exim Cheatsheet that I...
by Keiron | Aug 1, 2006 | Programming, Software
Creating – yesterday, tomorrow, last month etc. in PHP time can be a little time consuming – here are some quick cut and pastes! < ? $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("Y")); $today = mktime(0,0,0,date("m"),date("d"),date("Y")); $tomorrow...
by Keiron | Dec 16, 2005 | Linux
A couple of days ago I had reason to get really hands on, down and dirty with Exim my MTA. The basic problem being that for some absolutely unknown reason a couple of clients messages were stuck on the queue and not able to be delivered to me. They were failing with...
by Keiron | Dec 16, 2005 | Linux
Sed can be a pain in the butt, so thanks to Shooter.net I’ve recently been changing files with perl using the following code: perl -pi -e ‘s/search/replace/g’ *.text -p Assumes an input loop around the script. It reads each line of the file and...
by Keiron | Dec 16, 2005 | Wordpress
OK – it looks like the woo-hoo was a little early – that ping didn’t work it was a trackback because I linked to the red-alt tool… So this has no links and I’ve disabled the plugin – so I’m hoping this does ping stuff!
Recent Comments