Results 1 to 6 of 6
  1. #1

    Include ads for all free clients

    I am wanting to display a page automatically on all my clients pages that have free hosting. How do i do this without modifying every page.

    Thanks

  2. #2
    Join Date
    Oct 2003
    Location
    Orlando, FL
    Posts
    244
    Apache? IIS?
    you have full access to the server?
    Paul

  3. #3
    Quote Originally Posted by PaulTech View Post
    Apache? IIS?
    you have full access to the server?
    I used displaying ads as an example. I just want a file to be displayed on all my pages on my domain name. I do not want to use php include or iframe. Is it possible to do it with .htaccess to include a page at the top of every page automatically?

    I have access to my files on the server.

  4. #4
    Join Date
    Feb 2008
    Location
    Farnham, Surrey, UK
    Posts
    69
    Quote Originally Posted by jicola View Post
    I used displaying ads as an example. I just want a file to be displayed on all my pages on my domain name. I do not want to use php include or iframe. Is it possible to do it with .htaccess to include a page at the top of every page automatically?

    I have access to my files on the server.
    Hi,

    By saying htaccess I will assume that you are using Apache. This can be done with Apache.

    http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

    I believe you will be able to do it with this. Although I haven't tested it.
    nickcharlton.org.uk - My Tech Blog

  5. #5
    Join Date
    Mar 2004
    Location
    USA
    Posts
    4,342
    htaccess will not work. You will need to edit your httpd.conf and include a header and/or footer to append to each page that is viewed on your server.

    I don't know what exactly is the syntax, but look up "http append page code".

    Peace,
    Testing 1.. Testing 1..2.. Testing 1..2..3...

  6. #6
    All I want is to display a page that is in my directory, on all the other pages without altering code for every single page.

    How do I include this code
    Code:
    <IFRAME SRC="globalbanner.htm" TITLE="Banner Frame" name="Frame" border="0" frameborder="0" width="800" height="30">
    <!--Please enable Iframes on your Browser -->
    on every single page?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •