Confused about Ad Code

Status
Not open for further replies.

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
hi,

I'm on the x10 advanced plan, and i've tried several differnt ad codes on my site including:
Code:
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
    if (!document.phpAds_used) document.phpAds_used = ',';
    phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

    document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
    document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
    document.write ("&amp;what=zone:3&amp;target=_blank");
    document.write ("&amp;exclude=" + document.phpAds_used);
    if (document.referrer)
        document.write ("&amp;referer=" + escape(document.referrer));
    document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>

[COLOR=#000000] [COLOR=#007700]<?[/COLOR][COLOR=#0000bb]php [/COLOR][COLOR=#007700]include([/COLOR][COLOR=#dd0000]'http://staff.x10hosting.com/adCode.php?ad=advanced'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000bb]?>[/COLOR]

But the code still doesn't show up on my website, also sometimes it appears in the source, sometimes it doesn't.

Am I using the right code? If not, what should I use? I have JavaScript enabled, My site page is index.php.
Server is samwal.x10hosting.com

It's just that there are so many versions of ad code i've seen: the php one, the one in a zip file, the javascript one that I don't know which one to use and the ones I have used aren't working.

Help will be greatly appreciated.

Thanks
[/COLOR]
 
B

Brandon

Guest
Hmm... Many users have had problems with this. Could you download HijackThis and PM the log. Could be some anti-spyware software.
 

Spartan Erik

Retired
Messages
6,764
Reaction score
0
Points
0
lambada said:
hi,

I'm on the x10 advanced plan, and i've tried several differnt ad codes on my site including:
Code:
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
    if (!document.phpAds_used) document.phpAds_used = ',';
    phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

    document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
    document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
    document.write ("&amp;what=zone:3&amp;target=_blank");
    document.write ("&amp;exclude=" + document.phpAds_used);
    if (document.referrer)
        document.write ("&amp;referer=" + escape(document.referrer));
    document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>

[COLOR=#000000] [COLOR=#007700]<?[/COLOR][COLOR=#0000bb]php [/COLOR][COLOR=#007700]include([/COLOR][COLOR=#dd0000]'http://staff.x10hosting.com/adCode.php?ad=advanced'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000bb]?>[/COLOR] 

[/COLOR]


But the code still doesn't show up on my website, also sometimes it appears in the source, sometimes it doesn't.

Am I using the right code? If not, what should I use? I have JavaScript enabled, My site page is index.php.
Server is samwal.x10hosting.com

It's just that there are so many versions of ad code i've seen: the php one, the one in a zip file, the javascript one that I don't know which one to use and the ones I have used aren't working.

Help will be greatly appreciated.

Thanks

well if your index is coded with php, then i assume you use the php coding for the ad
my index is coded with html/javascript/css, so i just use the javascript ad.. are you sure you arent using some kind of adblocking software or extension (firefox adblock)?
 

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
I'm downloading HiJack this as I type, It's probably not a firefox extention as I have also tried viewing it in IE and Opera.

Brandon: i've pm'd you it.

EDIT:

Thanks. It turned it it was my Norton INternet Security Ad Blocker. It's the little features like that which seem useful at first, but which slowly become annoying.

Thanks for all the help :D
 
Last edited:
B

Brandon

Guest
I helped him, if you want to learn how check Useful Infomation in the Announcements Forum.
 
Status
Not open for further replies.
Top