Got Chance


GotChance Coding Services

May 2, 2008 by Hari

Finally, i’m free. I’ve finished my school. Now am free to concentrate on my passions like blogging, programming etc… So, as the first step i’d like to announce that i’m open for Coding Jobs… I’m currently offering PSD->XHTML, PSD->Wordpress and PHP Coding services. For more details check out the services page.

I’m a strong believer of the words “Code is Poetry”. I enjoy coding. Hope i get some good tasks soon…

If you’re new here, you may want to subscribe to our RSS feed. Thanks.

Posted in Programming, Services, Web Development.

GotBanners – Making 2 Columns

December 20, 2007 by Hari

If you have installed GotBanners and if it displays only one columns of banners, here is your solution. I started getting a lot of mails asking me how to do it. So, here is the answer. Its fairly simple.

It purely depends on the space you have. You need to have atleast 290px width to accommodate 2 rows of 125×125 banners. Because, GotBanners automatically adds 5px margin to each banner. If you have lesser space, alter this line in gotbanners.php :

echo "<style>.gotbanners { text-align: center; } .gotbanners img { margin: 5px; } </style>";

Change the 5px to something lesser. If you just have 250px, you’ll have to change it to 0px.

Hope its clear for everyone. If you have any other questions, feel free to contact me.

Posted in Programming, WordPress Plugins.

Simple way to Track Downloads

September 5, 2007 by Hari

A simple google search of “download tracker” yields 92,900,000 results. There are also a lot of nice download tracking script that i know. They all come in useful when you have a lot of files for download and you have your own download repository of large number of files, like on my other Free Webmaster Resources website (though i use a custom coded one there). But on this blog, i just have some 2-3 themes and 1 plugin for download as of now. So, a download tracker would simple be unnecessary. But, i would like to track how many times my file have been downloaded. I use a simple method here on my blog.

I have a PHP file with the following code :


$hits = file_get_contents("SOME-NAME.txt");

$hits = $hits + 1;

$handle = fopen("SOME-NAME.txt", "w");

fwrite($handle, $hits);




The SOME-NAME.txt is the text file to which the number of downloads is written. It needs to be CHMODed to 777. And initially, it should contain “0″ as the file content. The LINK-TO-ORIGINAL-ZIP-FILE is the link to the file that needs to be downloaded. It can be any type, not necessarily be a Zip file.

I currently use this method for all my downloads on this blog. For eg, Got Banners can be downloaded from Here. The tracking is done on this TEXT File. Now, i hope that helped some of you.

Posted in Programming, Web Development.