URGENT : Ad Code Not working

Discussion in 'Free Hosting' started by prasys, Feb 28, 2005.

Thread Status:
Not open for further replies.
  1. prasys

    prasys New Member

    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    I tried to use this ad code :-
    HTML:
    <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:1&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=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>
    But Sadly it does not show up in the Site...I tried adding in the <body> section and its still unable to show up. May I know if the ad system is working or not
     
  2. Richard

    Richard Active Member

    Messages:
    2,028
    Likes Received:
    0
    Trophy Points:
    36
    It does not work if it is put on to one line for some strange reason this should work.
    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:1&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=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>
     
  3. Conor

    Conor New Member

    Messages:
    3,570
    Likes Received:
    0
    Trophy Points:
    0
    We are having trouble with people and ad codes. We will try to simplify things ASAP
     
  4. Jim

    Jim New Member

    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    0
    They should turn everything into php includes
    Code:
    <?php include("http://www.x10hosting.com/adcode1.php"); ?>
     
  5. prasys

    prasys New Member

    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    0
    Nah , I do not know whats wrong..It still not working correctly

    P.S - I'm not coding the Page in PHP for certain reasons..Anyone knowns why.....
     
  6. Chris

    Chris New Member

    Messages:
    1,538
    Likes Received:
    0
    Trophy Points:
    0
    Last edited: Mar 1, 2005
Thread Status:
Not open for further replies.

Share This Page