EasyPHPScripts.com      Free Open Source PHP Scripts and Code Snippet Library

 +Menu
+   Site News
+   Main Pages
+   Other Downloads
 +PHP
+ Arrays (9)
+ Directory And Files (7)
+ Image (3)
+ LDAP (3)
+ MySQL (11)
+ Other (11)
+ Regular Expressions (3)
+ String Manipulation (13)
+ Time and Date (6)
 +Library Options
+   View Other Library
 +General Options
+   Log in

Main Pages

Downlaods -|- Contact
Home
EasyPHPNews
EasyPHPTabs
EasyPHPTemplate
EasyPHPEdit
Flat file CMS
EasyPHPCashe
EasyPHPNews Discussions
Fix Vista PHP CLI Errors
Contact

Easy PHP Template

Quik and easy template system.

does arrays or not.
$tags1 = array("TESTa1"=>"Testing once array","TESTa2"=>"testing twice array");
$tags = array("TEST3","TEST4");
$text = array("Testing once 3","testing twice 4");
no arrays
$temp->replace("TEST1","Testing once");
$temp->replace("TEST2","testing twice");

files and/or strings.
file?used
$temp->load("test.tmp);
file not used
$temp->load("",$string);
both used
$temp->load("test.tmp",$string);

class.EasyPHPTemplate.zip


Demo using multiple nested templates.
Demo

Downlaods
Powered By PHP
 
Powered by: PHP & centOS