PHP Inlcude not working

Discussion in 'Co-op Advertising Network' started by kea12345, May 16, 2005.

  1. #1
    My Site is heavy on cgi includes via SSI.

    So, when I put up the page as *.php, the PHP works, but my CGI SSI does.

    Conversely, when I put up my pages with HTML extension, CGI SSI works, but PHP include does not.

    So, how can I get both to work on the same page *without* having to recode my entire site.
     
    kea12345, May 16, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    I don't think you can run both on the same page. Best to just use the SSI include.
     
    digitalpoint, May 16, 2005 IP
  3. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #3
    When your using html, are you using the php include likle this ?

    <?php require("header.htm"); ?>
     
    Cristian Mezei, May 16, 2005 IP