Show Your Support
function pnFlashGames_getChecksum($file){ $file = "arcade/".$file.".swf"; if($fp = fopen($file, 'r')){ $filecontent = fread($fp, filesize($file)); fclose($fp); return md5($filecontent); }else{ return false; } }
function pnFlashGames_getChecksum($file){ $file = "arcade/games/".$file.".swf"; if($fp = fopen($file, 'r')){ $filecontent = fread($fp, filesize($file)); fclose($fp); return md5($filecontent); }else{ return false; } }
$dirr = PATH."/arcade";
$dirr = PATH."/arcade/games";
value="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" />
value="./arcade/games/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" />