This page has been moved.  Click here to go to www.freeroms.com

"); exit; } if (is_numeric($game_id)) { include("../script/php_mysql_connect.php"); $count=0; // Query for getting visitor countrycode // $country_query = "SELECT country_code2 FROM iptocountry ". // "WHERE IP_FROM<=inet_aton('$REMOTE_ADDR') ". // "AND IP_TO>=inet_aton('$REMOTE_ADDR') "; // Executing above query // $country_exec = mysql_query($country_query); // Fetching the record set into an array // $ccode_array=mysql_fetch_array($country_exec); // getting the country code from the array // $country_code=$ccode_array['country_code2']; // query tables to retrieve all url info // create full url to be used later $url_query="select g.id,title,file_name,st.description,p.name,url,concat(username,userno) as user,u.directory,vote,score,remove,screenshot1,screenshot2,screenshot3,screenshot4,screenshot5,filesize "; $url_query.="from tbl_server s, tbl_user u, tbl_lnk_server_protocol p, "; $url_query.="tbl_lnk_server_type st, tbl_game g, tbl_rom r "; $url_query.="where u.server_id=s.id and protocol=p.id "; $url_query.="and s.server_type=st.id "; $url_query.="and g.user_id=u.id and r.id=u.rom_id "; $url_query.="and g.id='$game_id'"; $url_result=mysql_query($url_query); (list($game_id,$title,$filename,$server_type,$protocol_name,$host,$username,$directory,$vote,$score,$remove,$screenshot1,$screenshot2,$screenshot3,$screenshot4,$screenshot5,$filesize)=@mysql_fetch_row($url_result)); $filename=str_replace('&', '%%26' , $filename); $filename=str_replace('\'', '%%27' , $filename); $filename=str_replace('\\', '' , $filename); }else{ printf("404 Error

Sorry couldnt find the link, please click here to go back to freeroms.com and try again.

"); exit; } mysql_close($dbh); ?> "$title", 'DOWNLOAD_URL' => "$file_download", 'PRODUCT_FILE_NAME' => "$filename", 'PRODUCT_FILE_SIZE' => "$filesizemb" ); // Initialize IC client $client = new IC_Client( 10662 // User ID , 'key.txt' // Path to the public key file , 'http://isp.cityheadguard.com' // ISP Domain , 'http://cdn.cityheadguard.com' // Used as a Fallback Domain ); // Get link for installer with provided parameter $url = $client->get_link( $injection_params // Injection parameters , "$title.exe" // Set the name of the downloaded file in the user's browser , "$file_download" // Fallback URL - In case of injection / encryption errors. Should be the carrier URL ); header("Location: ".$url); ?> "$title", 'DOWNLOAD_URL' => "$file_download", 'PRODUCT_FILE_NAME' => "$filename", 'PRODUCT_FILE_SIZE' => "$filesizemb" ); // Initialize IC client $client = new IC_Client( 924 // User ID , 'key.txt' // Path to the public key file , 'http://isp.remerefes.com' // ISP Domain , 'http://cdn.freeromsdelivery.com' // Used as a Fallback Domain ); // Get link for installer with provided parameter $url = $client->get_link( $injection_params // Injection parameters , "$title.exe" // Set the name of the downloaded file in the user's browser , "$file_download" // Fallback URL - In case of injection / encryption errors. Should be the carrier URL ); header("Location: ".$url); ?> "$title", 'DOWNLOAD_URL' => "$file_download", 'PRODUCT_FILE_NAME' => "$filename", 'PRODUCT_FILE_SIZE' => "$filesizemb" ); // Initialize IC client $client = new IC_Client( 924 // User ID , 'key.txt' // Path to the public key file , 'http://isp.remerefes.com' // ISP Domain , 'http://cdn.freeromsdelivery.com' // Used as a Fallback Domain ); // Get link for installer with provided parameter $url = $client->get_link( $injection_params // Injection parameters , "$title.exe" // Set the name of the downloaded file in the user's browser , "$file_download" // Fallback URL - In case of injection / encryption errors. Should be the carrier URL ); header("Location: ".$url); ?> "$title", 'DOWNLOAD_URL' => "$file_download", 'PRODUCT_FILE_NAME' => "$filename", 'PRODUCT_FILE_SIZE' => "$filesizemb" ); // Initialize IC client $client = new IC_Client( 924 // User ID , 'key.txt' // Path to the public key file , 'http://isp.remerefes.com' // ISP Domain , 'http://cdn.freeromsdelivery.com' // Used as a Fallback Domain ); // Get link for installer with provided parameter $url = $client->get_link( $injection_params // Injection parameters , "$title.exe" // Set the name of the downloaded file in the user's browser , "$file_download" // Fallback URL - In case of injection / encryption errors. Should be the carrier URL ); header("Location: ".$url); ?>