Converting html to php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TB2
    Member
    • May 2000
    • 63

    Converting html to php?

    Just a simple question to the php-freaks!

    I've a index-page what's about 40k long with a lot of tables and ssi-calls (perl-scripts). I'm trying to include the results of the active-hack into this page like a ssi-call but i've failed till today.

    Is there anything like a html -> php-converter available?
    What would you do?

  • Nutcase
    Member
    • May 2000
    • 50

    #2
    easy...

    To make a SSI/HTML page into PHP, just replace the SSI calls with:

    <?php require("DOCUMENT URL"); ?>

    where DOCUMENT URL is the url of the document. <g>

    then rename the extension to .php, and it should work fine.

    Comment

    Related Topics

    Collapse

    Working...