PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Thomas Björk   Evaluate   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: A simple exampl
Class: Evaluate
Extend the eval function to allow non-php content
Author: By
Last change: Update of example.php
Date: 10 days ago
Size: 291 bytes
 

Contents

Class file image Download
<?php
include("evaluate.php");

$eval = new evaluate();
$output = $eval->mixeval("<B><?php include(\"obi.php\"); ?></B> <I><? echo \"Hello\";?></I> <U>there</U>");
// Handle output here
echo $output;

$output = $eval->mixevalfile("obi.php");
// Handle output here
echo $output;
?>