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: 18 years ago
Size: 479 bytes


Class file image Download
// $Id: phpcode_with_debug.php,v 1.4 2004/12/26 20:37:05 lvalics Exp $
// Debug Example
$ft = new FastTemplate("./templates");
$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");