Page 1 of 1

Maximum 3 picture in a webpage - PHP

Posted: Mon Sep 04, 2006 2:26 am
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

Posted: Mon Sep 04, 2006 2:34 am
by wtf
There has to be a reason why you can only have three adds. Why push your luck and get banned?

Posted: Mon Sep 04, 2006 2:43 am
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.