My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Tag Archives: scripting
Block and Allow IP with iptables – simple script
As most developers are lazy, I’m a huge fan of scripts. I’ve found myself lately having to add entries to iptables to block a single IP or a small subnet, so I made a quick script to make the job … Continue reading
When PHP's dirname() saved the day
Now, I won’t bore you with the actual details of how I came across this – lets just skip to the explanation and example: First, even when it makes ‘sense’, you should not be using relative paths in your command … Continue reading
Automatic Backup with SVN on Windows
A while ago, I decided that I needed to have a better backup solution for my file server. After doing some research on various systems, I let my inner programmer take over – in addition to my desire to NEVER … Continue reading
Live Combined Error Reporting for Apache and PHP during Development
So many times during development, I’ve missed little PHP errors because they were 1) on a processing page that was redirected or 2) output inside of a html tag – and rendered invisible. From time to time, I have to … Continue reading
When your linkd causes you problems, you must convertd it!
For the setup I use at (“the triangle”), I have alot of filesystem links – and these are made on win32 with the linkd.exe command (the version I got is from the windows 2000 resource cd). When I start a … Continue reading
