From the bottom up
   You have to start some where

Archive for the 'General' Category

Don’t Reinvent the Wheel

Monday, August 7th, 2006

Well, as with most things on the web, you can usually use google to find and get code, so that you don’t have to do stuff from scratch, for web developers there is a nice set of code for User Interface Stuff and One about Design Patterns available from Yahoo.

I can’t wait to play with these.

Nice Drop Down Tutorial

Friday, August 4th, 2006

I found this drop down tutorial/script

Random Interesting Stuff

Friday, August 4th, 2006

Gotcha: file_exists vs. is_file

Friday, August 4th, 2006

Sometimes i miss the fine print, today i made minor opps. I was using file_exists() to check for a file, it was returning true even when the file wasn’t there. After awhile i realised that i was using the wrong function to check for the file.

file_exists will return true for file and directories, you should rather use is_file() to check for files.

if( file_exists(UPLOAD_DIR.$_FILES['file_1']['tmp_name']) ){

//WRONG WAY!! THIS WILL STILL RETURN TRUE IF FILE IS NOT THERE
}

if( is_file(UPLOAD_DIR.$_FILES['file_1']['tmp_name']) ){

//CORRECT WAY!!
}

PHP Socket Tutorial

Friday, July 28th, 2006

Jim Plush’s Socket Tutorial

My Flikr Photo Albums

Wednesday, July 26th, 2006

Back From Vacation

Monday, July 24th, 2006

Hi,

I am back from my Euorpean Vacation, I visited Germany & Rhodes, Greece. I have uploaded photos from the Germany part of the trip. I visited Bremen, Berlin, Hannover & Augsburg. I also went to the Switzerland vs. South Korea Game.

Hi

Monday, June 12th, 2006

Hi,

This is my new blog, I will update this site with what i am upto some interesting things, and whatever i feel like.