Question for anyone that knows PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ldinternet
    Confirmed User
    • Apr 2001
    • 8245

    #1

    Question for anyone that knows PHP

    I have

    - a site with 50,000 html pages
    - a list of updates in updates.html

    Would it be possible to insert a bit of PHP into the html pages, that will pull the content of updates.html and display it? I'd like the updates to appear as part of the page, not in an i frame or anything like that.

    If possible, could someone give me an example of how this is done?

    thanks......
    Last edited by ldinternet; 12-29-2003, 03:47 PM.
  • SetTheWorldonFire
    Confirmed User
    • Feb 2002
    • 7444

    #2
    yes it's possible and no I can't tell you how.

    unless you paypal me $10,000

    or talk to a php programmer and have them give you a quote.

    it's pretty much just a file open and insert html to all those pages.
    www.STWOFDesign.com
    hit me up on icq 154206276 or Skype: JaimeGizzle

    Comment

    • ztik
      Confirmed User
      • Aug 2001
      • 5196

      #3
      why not just use ssi?
      .

      Comment

      • avion
        Confirmed User
        • Jan 2003
        • 1403

        #4
        it is possible, but really why dont u use SSI - would be simpler I believe...

        Comment

        • Darren
          Confirmed User
          • Sep 2001
          • 5994

          #5
          Idinternet ICQ me and I can get my programmer to do it for ya... on the house! Won't be till 2mor 11am GMT time he gets in.


          Penis enlargement / male enhancement pills - earn up to $229.48 per signup

          ICQ: 46335817

          Comment

          • Babaganoosh
            ♥♥♥ Likes Hugs ♥♥♥
            • Nov 2001
            • 15841

            #6
            Use the "include file" SSI directive. You don't need any scripts to do that.
            I like pie.

            Comment

            • Darren
              Confirmed User
              • Sep 2001
              • 5994

              #7
              or u could use SSI heheh


              Penis enlargement / male enhancement pills - earn up to $229.48 per signup

              ICQ: 46335817

              Comment

              • ^R3K^
                Confirmed User
                • Sep 2001
                • 2815

                #8
                you could do it easily by adding header or footer with ssi, or just ad a bit of code on each of the html pages maybe at a peice of code that appears on each page. then add something like
                PHP Code:
                <?php include updates.htm'; ?>
                and then add to your htaccess "AddType application/x-httpd-php .htm .html"
                no business like ho business

                Http://www.natnet.com
                No Hype, Just Results

                Comment

                Working...