All of My Pages?

Discussion in 'Co-op Advertising Network' started by tdarnold, Dec 16, 2004.

  1. #1
    I am getting aan error because I do not have the code in all of my pages.

    The reason is some are .html but..

    I have changed them all to .php so that the code will work
    and have deleted the html versions.

    What to do?
     
    tdarnold, Dec 16, 2004 IP
  2. stephaneggy

    stephaneggy Well-Known Member

    Messages:
    275
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Reupload the html pages and use the .htaccess code, if you where listed in google I should certainly but the old files back up!
     
    stephaneggy, Dec 16, 2004 IP
  3. tdarnold

    tdarnold Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks I have them backed up and will now put them back.
     
    tdarnold, Dec 16, 2004 IP
  4. tdarnold

    tdarnold Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I am using 5 text links at the bottom of my pages but they all run together. I dont know PHP code. How do I put a space between the links?
     
    tdarnold, Dec 16, 2004 IP
  5. onestop

    onestop Well-Known Member

    Messages:
    534
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    138
    #5
    Here's what I do:
    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network.php');
    	echo $ad_network[0];
    ?> | 
    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network.php');
    	echo $ad_network[1];
    ?>
    Code (markup):
    One space after the first ad, then | and another space. You can see how it looks on a page here at the footers:
    http://www.onestop-directory.com/
     
    onestop, Dec 16, 2004 IP
  6. onestop

    onestop Well-Known Member

    Messages:
    534
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    138
    #6
    By the way:
    The first text link "Auction Resources" is a static link, and other 5 text links are coop ad network ads on the footer. I am guessing you'd like to have a similar structure. So check out my previous post and let me know if you have any further questions.
    cheers
     
    onestop, Dec 16, 2004 IP
  7. tdarnold

    tdarnold Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Are you putting the code in a table?
     
    tdarnold, Dec 16, 2004 IP
  8. tdarnold

    tdarnold Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I posted the code in the .htaccess file and then everything worked. It went live.

    Now it is acting like before, wanting to validate my html files again.
     
    tdarnold, Dec 16, 2004 IP