The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ads on all pages

Discussion in 'General Discussion' started by streryan, May 19, 2005.

  1. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    I know there is a script where I could put my google ad code on all pages, the code would go in .htaccess, does anybody know this code?

    Thanks,
    Ryan
     
  2. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    I really need this code
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
  5. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    perhaps you should read the posts of the people that responded to you and then you would have your answer
     
  6. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3

    I did... neither of them will work
     
    Izzee likes this.
  7. RAIS2

    RAIS2 Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Have you tried the first one, the .htaccess method of appending it to the bottom of the pages.
    Code:
    php_value auto_append_file /home/username/public_html/ad.php
    
    AddType application/x-httpd-php htm
    
    AddType application/x-httpd-php html
     
  8. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3

    stupid thing still wont work :(
     
  9. RAIS2

    RAIS2 Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    Is your server running with phpsuexec on ?
     
  10. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    dang, I guess it is, oh well
     
Loading...

Share This Page