Monthly Archives: October 2010

I&squo;ve recently had to write a PHP script that needed to delete a directory and all sub directories and files within the directory. With PHP, there are functions available to delete a directory and delete a file.

Most web servers these days run on a LAMP configuration (Linux, Apache, MySQL, PHP). Because the Operating System is Linux, the default archival and compression utilities are TAR and GZIP resulting in files like “filename.tar.gz”. There is nothing wrong with … Continue reading →

Using Perl to time Bash Calls – Bash fine grain timer I was looking for a way to cross platform way to make a microsecond timer or anything less than one second for that matter in bash. Aside from doing … Continue reading →

Bash Multi-Get using wget If you were ever looking at using wget with a proxy – then this is probably the script for you. I haven&squo;t spent much time testing this and it requires a helper program written in perl … Continue reading →

What is Bash SQL Query Helper? This script is a very simple script that helps one to run sql commands from the command line with the command name and the query as opposed to running all sorts of switches. This … Continue reading →

As web developers, we are usually tasked with deploying a project to a production server that we don&squo;t always have access to. And in most cases the projects require a database. The usual plan of action consists of running a … Continue reading →

Having trouble accessing your database remotely? Hosting providers are among the funniest people to deal with, and I am not talking about a humerous evening I had out with a server admin one time at the bar. They are a … Continue reading →

What is remv.php The file remv.php is a script that MAY be found inside your website regardless if you have a CMS or not and is a popular script used to inject code into your site. This is definately not … Continue reading →

Many times called, once called back init function If you have done any programming to build extensions or plugins in the form of a dll or shared object, then you probably know the purpose of this class or funcion structure, … Continue reading →

Easier ways to manage DNS. Todays DNS management is mostly web based using 3rd parties like GoDaddy or Tucows to actually manage your domains and point either to a 3rd party hosting company like HostGator or Netfirms. So what, … Continue reading →