Hi I am new LOL Adds not showing on .html page

Discussion in 'Co-op Advertising Network' started by TheStig, Oct 20, 2005.

  1. #1
    OK .htaccess is parsed for php include into html pages and even is i open

    http://www.buy-it-at.co.uk/ad_network_415.php it is not showing the adds

    the include on the html page is correct but the ad_network_415.text is still showing zero kb

    has the account got to be activated first???
     
    TheStig, Oct 20, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    No, you would need to show ads before you can be validated (not the other way around).
     
    digitalpoint, Oct 20, 2005 IP
  3. TheStig

    TheStig Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But i have added the php code to the pages and it still will not show?????

    Is the account active or not and why is the text file 0kb?????
     
    TheStig, Oct 20, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Not sure... I checked this end, and your server is not trying to make any requests for ads. Might check with the server admin to see if it's allowed.
     
    digitalpoint, Oct 20, 2005 IP
  5. TheStig

    TheStig Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it is allowed as i use php include on that domain and others if i open the file in IE not as an include it should show yes ie the url i first posted?
     
    TheStig, Oct 21, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    Are any of your other PHP scripts making network connections to other servers though?
     
    digitalpoint, Oct 21, 2005 IP
  7. TheStig

    TheStig Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No just random image php script but not on that page that is in sub DIR?

    The include i have on the page is

    listed below in the next post

    in my .htaccess i have

    RemoveHandler .html .htm
    AddType application/x-httpd-php .php .htm .html
    php_flag register_globals 1
    <Files ".ht*">
    deny from all
    </Files>

    This is what my server CP puts in the htaccess file

    <?php include "ad_network_415.php";?>
    PHP:
    i have also tryed it with the full www path?

    Is that the correct code?

    when i log into ur CP i now get ad_network_416.php

    do i have to change any thing in that file?

    Just uploading it now and the new text file

    with perm set to 666 is it only the .txt file that has to be 666?
     
    TheStig, Oct 21, 2005 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Have you done my original suggestion yet (talking to your server admin)?
     
    digitalpoint, Oct 21, 2005 IP
  9. TheStig

    TheStig Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    OK it must be to do with the htaccess i have have it hitting ur server so i will play with the htaccess some more

    OK got the adds showing now in my index.html page

    when i go to validate it is saying their are no add on a page in a sub DIR and i did want adds on that page ?

    Do the adds have to be on every page of my whole domain?

    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_416.php');
    	echo $ad_network;
    ?
    PHP:
    Do i have to change any part of this code line?

    I want adds to show on domain index.html and sub DIR index.html pages but i have ony set the add up on the domain index so far but the validator is checking all the pages on that doamin?????

    OK index.html page now has been validated

    If i want to show targeted adds on index.html pages in a sub dir do i have to signup again??
     
    TheStig, Oct 21, 2005 IP