Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

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

Posted in linux, scripting | Tagged , | 2 Comments

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

Posted in PHP, scripting | Tagged , | Leave a comment

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

Posted in scripting, svn, windows | Tagged , , | 9 Comments

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

Posted in Eclipse PDT, IDE and Web Dev Tools, scripting | Tagged , , , | Leave a comment

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

Posted in scripting | Tagged | 1 Comment