How often has it happened that you have a few hundred pages, with something that needs to be changed on each page? Luckily, PHP >= 4.2.0 ships with PCRE enabled by default, opening up the power of regular expressions to PHP scripters. I'm not going to give a primer on REs (Regular Expressions), but if […]
Figured it was about time I actually posted something… Little known to many people, PHP actually makes an excellent system level scripting language. Let's take a quick look at scrapping Perl & using PHP for a simple problem. Setup: I've got a bunch of m3u files that contain reference to single mp3 files on a […]
I know that we've posted about .htaccess files and friendly error pages before, but after some questions from my spouse, I decided to write up something more along the lines of a package of scripts. It contains a bit of optional logging, if you want to keep an eye on the details of your errors, […]
This is an introduction to a couple of postings I'll be writing on system admin style scripting. Web scripting is great, but its good to see how the skills you aquire scripting for the web can spill over into "backend" style administration work. That said, lets get into Active Directory (AD), and how to script […]