Maximum 3 picture in a webpage - PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joelloh2002
Forum Newbie
Posts: 4
Joined: Mon Aug 07, 2006 1:59 am

Maximum 3 picture in a webpage - PHP

Post by joelloh2002 »

Hi Expert,

As we see, google adsense provide us a HTML code that let us paste to any of the webpage to earn money in the ads system. It only allow us to have 3 ads in a single webpage.

No matter how many times we duplicate the HTML code provided, the ads still comes 3 times. i wonder how they do it!

example : http://netccentric.com/testtest/iframe.php

Please right click the source file and see the code, i have paste the code more than 3 times!

i need someone advise on how to code in php like GOOLGLE on how they control thier ads! Cose snippet? :!: :!:

Thanks.
Joel
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

There has to be a reason why you can only have three adds. Why push your luck and get banned?
joelloh2002
Forum Newbie
Posts: 4
Joined: Mon Aug 07, 2006 1:59 am

Post by joelloh2002 »

Hi wtf,

i'm not playing arround with google, i'm developing a college project.

My project is like this - i have lots of picture in my MYSQL db, and all those picture is going to blogger blog page.

Simple : I'm providing picture to the blogger using External JAVASCRIPT.


as u see, if a blogger want our image, they will have this code to paste on the blogger templete.

HTML cut and paste :

<script type="text/javascript" src="http://www.netccentric.com/testtest/ads ... "></script>

but......., after i paste on my blog, it comes out several times! i just want it to come out only one time!

example : http://www.tipfun.blogspot.com/

Whats the solution? PLease HELP.
Post Reply