Wanted Header/Footer Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rip
    Confirmed User
    • Jan 2001
    • 1456

    #1

    Wanted Header/Footer Script

    I need a header footer script that doesn't use ssi, which I can install on a unix server

    this has to work on existing html pages without changing the page name


    ------------------
    Make dirty money from your surfers Dirty Gold
    Jack Thumbs TGP Search Engine Driven TGP - Pages LISTED INSTANTLY
    ...
  • Susan
    Confirmed User
    • Feb 2001
    • 772

    #2
    Rip

    It would be so much easier if you used an include. What exactly do you want a varying header and footer for and what criteria is it based on.
    Stupid Spice

    Comment

    • SABAI
      Confirmed User
      • Jan 2001
      • 2880

      #3
      hit me on icq 7525191

      ------------------

      www.adult-web-master.com

      evidence eliminator sells like hot cakes on porn sites

      Comment

      • TFCash
        Confirmed User
        • Apr 2001
        • 1738

        #4
        Rip -

        Just use php if your host has it loaded in your apache, and put this in your page header and footer.


        "<"? include "/mystuff/header.inc"; ?">"

        All your html page stuff here

        "<"? include "/mystuff/footer.inc"; ?">"

        ** Note take out the extra quotes around the left and right brack for the php, I can't seem to get it to show up in the message without putting them in there.

        And then create a .htaccess that has this in it.

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

        That way php will parse all htm and html pages also


        Tim



        [This message has been edited by hardcorehosting (edited 05-28-2001).]
        TeenFlood.com Online since 1998.

        TFCash KissMeGirl
        VirginRiches MondoBucks

        tim at tfcash.com or submit a ticket at our HelpDesk

        Comment

        • Rip
          Confirmed User
          • Jan 2001
          • 1456

          #5
          I chatted with my host briefly, and there is a good chance of doing this, it sounds like

          I am changing 1000's of linking codes today, which prompted me to think that there must be a much better way

          I am hoping that there will be not too much server load tho

          The use is simple, in the plethora of little sites I have, I would like to be able to call a header and footer, based on a theme, ie lesbian, big tits, hardcore, etc

          At regular intervals I can update the header, and footer, based on sales, sites, sponsor performance, of just keeping things fresh

          [This message has been edited by Rip (edited 05-28-2001).]
          ...

          Comment

          • TFCash
            Confirmed User
            • Apr 2001
            • 1738

            #6
            Rip -

            On our boxes we run php4 compiled into apache with the optimizer and we see little difference on the server load. We did a test 6 months ago on a software site that we run, the site was getting 200K pages views a day, and was being statically called for about 90% of the pages, We switched over and added common page includes and ran it all thru php, less that 5% increase on overall system usage, and it cut down on our updating by 3 hours a day


            Tim
            TeenFlood.com Online since 1998.

            TFCash KissMeGirl
            VirginRiches MondoBucks

            tim at tfcash.com or submit a ticket at our HelpDesk

            Comment

            • TFCash
              Confirmed User
              • Apr 2001
              • 1738

              #7
              We also run all of our adult sites like that, we have a directory with nothing but our sponsors code links, so if we want to change the text links or banners for all of our sites, all we have to do is make one change within a single directory and all of a sudden all our sponsors stuff is updated. For days when ars pops up to $75 a signup it's nice to be able to change one set of code and send all our traffic that way, and then at the end of the day switch it back


              Tim

              TeenFlood.com Online since 1998.

              TFCash KissMeGirl
              VirginRiches MondoBucks

              tim at tfcash.com or submit a ticket at our HelpDesk

              Comment

              • Rip
                Confirmed User
                • Jan 2001
                • 1456

                #8
                Good tips thanks
                ...

                Comment

                Working...