Location: PHPKode > projects > VampMan: V:tR Character Manager > vampman-1.0.2/phpnuke/modules/charactersheet/includes/checkvars.php
<?
$magicquotes = (get_magic_quotes_runtime() || get_magic_quotes_gpc());

foreach ($strings as $name)
{
	if($magicquotes)
		${$name} = stripslashes(${$name});
	${$name} = html_entity_decode(${$name},ENT_QUOTES);
	${$name} = htmlentities(${$name},ENT_QUOTES);
	${$name} = html_entity_decode(${$name},ENT_NOQUOTES);	
}
foreach ($digits as $name)
{
	if(!is_numeric(${$name}))
		${$name} = 0;
}
if(!isset($all))
{
	$statskeys = array_keys(array_merge($stats[_mental],$stats[_physical],$stats[_social]));
	$skillskeys = array_keys(array_merge($skills[_mental],$skills[_physical],$skills[_social]));
	$all = array_merge($statskeys,$skillskeys,$strings,$digits);
}


?>
Return current item: VampMan: V:tR Character Manager