PDA

View Full Version : Converting html to php?


TB2
Sat 27th May '00, 5:15am
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
Mon 5th Jun '00, 12:31am
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.