Common Mistakes That Violate Google Adsense

Google Adsense program is a popular web advertising program which provides a good income source for many websites. There are well defined terms of service to strictly adhere to when participating in the program.

On my visit through sites and forums, I daily notice several instances of misuse of Adsense ads. So here a few helpful Google Adsense tips, probably many you already know, and few you might gain by knowing now. These adsense faq are all picked from the Program Policies, Terms and Conditions and FAQ itself and presented in a simplified manner.

Never click your own adsense ads or get them clicked for whatever reason.
You know this one very well. This is a surefire way to close you Adsense account. Never tell your office associates or friends to click on them. Keep a check if your family or children are busy increasing your income by clicking your ads and indirectly trying to stop your income. Dont even think of offering incentives for clicks, using automated clicking tools, or other deceptive software. Adsense is very smart to detect fraudulent clicks. Check the ads which appear on your pages by the Google Preview tool if required.

Next and Previous Links with PHP

This tutorial will show you how to make next previous links for a mySQL database.

If you have a myriad of data on your database and want to display it in a nice orderly manner, then you might want to display only part of the data per page so that all the data doesn't makes a scrolling nightmare. For example, say you made a shoutbox using the Shoutbox tutorial, but want to have it so people can scroll through the previous messages. The solution is to have next-previous links so they can browse freely. Take a look at the code:
<?PHP
mysql_pconnect("localhost","username","password");
mysql_select_db("spoono_news");

//initialize the start to 0
if(!$rowstart) $rowstart=0;

Hotlink (bandwidth theft) prevention

Bandwidth is the amount of data (information) being sent from the host server to the visitors computer. Each text letter, image, web page, and so forth is all really a bunch of data. A visitor comes to your web page, and all the data for displaying in their browser is transferred into their computer.

Bandwidth theft (or hotlinking) is when someone else's site is linking directly to an image (or something) on your site instead of downloading the image and uploading it to their own server.

This may not sound like a problem, but in some cases it can be a big one. Imagine you made an image and 100 other sites coded THIER pages to find that image on YOUR hosted area. If it was just your page alone, the bandwidth data transfer would be very small. Now that a hundred other sites are using the image on your server, that data transfer amount has just gone through the roof. Although this may not impact your site itself, your host server will be bogged down with all this extra transferring. Thus they may make you pay more dollars for hosting and/or cut you off entirely!