Login   Register  
PHP Classes
elePHPant
Icontem

File: phpcode_with_debug.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  Fast Template  >  phpcode_with_debug.php  >  Download  
File: phpcode_with_debug.php
Role: Example script
Content type: text/plain
Description: example 5, debugging
Class: Fast Template
Updated revision of CDI Fast Template engine
Author: By
Last change: Cosmetics
Date: 2005-01-02 10:05
Size: 479 bytes
 

Contents

Class file image Download
<?php
// $Id: phpcode_with_debug.php,v 1.4 2004/12/26 20:37:05 lvalics Exp $
// Debug Example
    
include_once("cls_fast_template.php");
    
$ft = new FastTemplate("./templates");
    
$ft->no_strict();
    
$ft->assign("NOVALUE"$cjwordforsearch);
    
$ft->assign("NOVALUE2"$action);
    
$ft->assign("IP"$HTTP_SERVER_VARS['REMOTE_ADDR']);
    
$ft->define(array("main"=> "phpcode.html"));
    
$ft->parse("MAIN""main");
    
$ft->showDebugInfo(1);
    
$ft->FastPrint();
?>