Location: PHPKode > scripts > Some Chess > some-chess/standard.php
<?php
//	Some Chess, a PHP multi-player chess server.
//    Copyright (C) 2006 Jon Link
function validate($value){
	if(get_magic_quotes_gpc()) 	$value 	= stripslashes($value);
	if(!is_numeric($value)) 	$value 	= mysql_real_escape_string(strip_tags($value));
	return $value;
}
?>
Return current item: Some Chess