Archive for March, 2007

Some tidbits

Posted by michael on March 29th, 2007 under General
 •  No Comments

I realise posts have been thin on the ground lately, so here are a few good links to keep you busy. On a related note, I’m always looking for people who want to write articles on any (web) topic - there are no requirements, as long as you make sense and can spell, then feel [...]

Spam, lovely spam

Posted by michael on March 21st, 2007 under General
 •  4 Comments

Ok, I’ve had to disable comments on the IE7 for linux post, the amount of spam that’s coming through is quite insane. Today there were 149 spam comments in my moderation queue. This site alone is eating up a large chunk of bandwidth on my host, I think (note: think) that it’s due to the [...]

Executing shell commands

Posted by michael on March 6th, 2007 under MySQL
 •  No Comments

Just a quick post - if you’re using PHP’s shell_exec to execute shell commands, take note of the following:
Permissions
If you’re reading or writing files, ensure that your working directory has the correct permissions for the www/apache user to access what it needs. On some systems, PHP will run as the nobody user, so adjust accordingly.
Pipes
Using [...]