Forum Moderators: martinibuster

Message Too Old, No Replies

Conditional placement of Adsense code

is it legitimate?

         

selomelo

3:05 pm on Aug 8, 2006 (gmt 0)

10+ Year Member



I have a dynamic subdirectory that I work heavily on adding dozens of new widges every day. Now, my question is this:
I want to add adsense to the pages but I do not want adsense displayed when I am logged in. So I wrote the following lines:

----
if (isadmin) do not display adsense
else display adsense

-----

Is this legitimate?

jomaxx

3:57 pm on Aug 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If that's PHP or some other server-side script, then it's fine and in fact is invisible to any web browser or spider.

selomelo

2:00 pm on Aug 9, 2006 (gmt 0)

10+ Year Member



Thank you jomaxx,

Yes, I use PHP for selectively displaying the adsense.
It is a site that I value much, and just wanted to double check that I am not doing anything wrong.