memo.xight.org

日々のメモ

GeSHiの利用

<?php
	include_once('geshi.php');
	$source         = $_REQUEST["source"];
	$language       = $_REQUEST["lang"];
	$geshi =& new GeSHi($source, $language);
	echo $geshi->parse_code();
	return;
?>