1
uniquekaiser
how to use php tag before and after the theme.html?

Hi!, I'm trying to implement this script: PHP + CSS Dynamic Text Replacement -JavaScript free-

and for it to work it needs to be on PHP file with this structure:

Quote:
<?php include 'dtr/dtr.php'; ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
page goes here
</html>


<?php ob_end_flush(); ?>


The bold part should be theme.html

I tried saving theme.html as theme.php with the extra php tags, it didn't work.. can anyone help me out please?


also, if someone could port this:
http://ffaat.pointclark.net/blog/archives/119-Dynamic-Text-Replacement-Plugin.html

to xoops, IT WOULD BE AMAZING!

Login

Who's Online

255 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 255


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits