Skip to main content

Source code file content

Revision: 226

Starting 'hendriks_write_support' branch
» Project Revision History

» Checkout URL

core / www / sample.php

Size: 339 bytes, 1 line
<?php
include_once 'geshi.php';

$geshi = new GeSHi($source, $language);

// disallow browsing up the directory tree
if (strpos($_GET['file'], '../') !== false) {
    exit('Illegal parameter');
}

$geshi->load_from_file("samples/net/jonathangiles/javafxdata/control/" . $_GET['file']);
echo $geshi->parse_code();
//echo $geshi->error();
?>
 
 
Close
loading
Please Confirm
Close