Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    153
    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:
    153
    I really need this code
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. streryan

    streryan Active Member

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

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    168
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. streryan

    streryan Active Member

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

    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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. streryan

    streryan Active Member

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

    stupid thing still wont work :(
     
  9. RAIS2

    RAIS2 Well-Known Member

    Joined:
    Jul 16, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    166
    Is your server running with phpsuexec on ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. streryan

    streryan Active Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice