Location: PHPKode > scripts > Hex Editor > hex-editor/hex.php
<?php
include('hex.class.php');

	$obj = new Hex('test');
	$hexcode = $_POST['hexcode'];
	
		if($hexcode)
		{
			$obj->writehex(trim($hexcode));
			print '<h1>0k.</h1>';	
		}
?>

	<center>
		<form method='POST' action=''>
			<textarea name='hexcode' cols='80' rows='40'>
				<?=trim($obj->gethex())?>
			</textarea>
			<br />
			<input type='submit' value='Send' />
		</form>
	</center>
Return current item: Hex Editor