Problem with installation and php includes

Discussion in 'Co-op Advertising Network' started by catzilla, May 3, 2005.

  1. #1
    Hi

    I've just added a new site to the co-op and am attempting to run the code via php include files.

    The ads are showing on the pages but when I validate the account it tells me account is not validated and to check the URL/forum type.

    The site currently has 155 pages indexed in Giigle (site:www.url.com)

    I have all the files setup on a central domain - www.central-domain.com (not my real domain) in an include folder.

    In there I have a file called dpcoop.html. In this file I'm using the php code which calls the DP include:

    I've included this code on this domain (the one I'm having problems with) as :

    I have the ad_network_245.php and ad_network_ads.txt files installed on the central domain in the root folder - permissions are set correctly (666 for the txt file)

    The ads show perfectly on the target domain, but the account won't validate.

    Does anyone know if the ad_network_245.php and ad_network_ads.txt files need to be on the target domain for the account to validate - or does the validation script check for something else I may have missed?

    I'm trying to centralise everything to reduce maintenance when I need to upgrade the script - doing it this way I can just upgrade everything in one place and all domains are upgraded.

    Be nice if I could get it to work.

    Any and all help would be greatly appreciated.

    Thanks

    Mike

    PS. I have the script working well on several other sites so hopefully that reduces the liklihood of "user error" - but doesn't eliminate it ;)
     
    catzilla, May 3, 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
    You can't include as a URL.
     
    digitalpoint, May 3, 2005 IP