1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Installing on blogger site with static (php) directory pages

Discussion in 'Co-op Advertising Network' started by neilgroom, Dec 9, 2004.

  1. #1
    Hi, First fantastic idea. I installed the (php install) files on my static pages and every thing works great. The problem is my index page and many other pages are a (blogger) blog and the php file I take it, does'nt work on the footer of the template. How do I get around this. Can I join twice and join under blog, and do it that way.

    Hope it all makes sence - So tied - long day

    Neil
     
    neilgroom, Dec 9, 2004 IP
  2. crew

    crew Peon

    Messages:
    225
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Why wouldn't it work on the footer of the template? Just throw it in your blogger template and publish. if all your pages are php you will be golden.
     
    crew, Dec 9, 2004 IP
  3. neilgroom

    neilgroom Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I put the code in the blogger footer and it just shows - "; echo ''.$ad_network[0].' | '.$ad_network[1].' | '.$ad_network[2].' | '.$ad_network[3].' | '.$ad_network[4].'
    '; ?>

    But the other pages do show the ads
     
    neilgroom, Dec 9, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    What's the URL?
     
    digitalpoint, Dec 9, 2004 IP
  5. neilgroom

    neilgroom Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    www. ebooks-marketplace .com

    If I add a .htaccess file - I get all sorts of errors - Nothing shows up.
     
    neilgroom, Dec 9, 2004 IP
  6. neilgroom

    neilgroom Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Every thing is sorted out now.

    My host says my htaccess file should read;

    AddHandler application/x-httpd-php .php .htm .html

    and not;

    AddType application/x-httpd-php .php .htm .html

    Works great now on the blog/php and htm pages.

    need sleep now and set it up properly tomorrow.

    Thank you

    Neil

    Edit - My host said

    Hello,

    The AddType directive is used when the PHP runs on the server as an Apache module.

    On our servers, we are using Suexec - this is one of the most secure environments for a shared hosting server. With it, PHP does not run as a module, but as CGI.

    That's why the AddType directive generates an Internal server error, you must use AddHandler instead.

    Best Regards,
    Support
     
    neilgroom, Dec 9, 2004 IP
  7. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #7
    Perhaps it would be worth all of us who this working on html sites to post our host name and how we got it working?
     
    Patient, Dec 10, 2004 IP