PHP Classes

File: phpcode_with_debug.php

Recommend this page to a friend!
  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: 19 years ago
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();
?>