where it finds a start tag.
function startTag($parser, $data){
}
// And this function tells the parser to replace the end tags with "
"
function endTag($parser, $data){
global $total;
$total = $total . "*";
}
// These lines create the parser and then set the functions for the parser to use when
// reading the document.
$xml_parser = xml_parser_create();
// Sets the functions for start and end tags
xml_set_element_handler($xml_parser, "startTag", "endTag");
// Sets the function for the contents/data
xml_set_character_data_handler($xml_parser, "contents");
// Read the file and save its contents as the variable "data"
$my_file = file("http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-3069515/keyword-21314524");
$keywords="Emperor: Rise of Middle Kingdom for Windows";
$mode="videogames";
$data = $my_file[1];
if(!(xml_parse($xml_parser, $data, feof($fp)))){
die("Error on line " . xml_get_current_line_number($xml_parser));
}
// Free the memory used to create the parser
xml_parser_free($xml_parser);
// Close the file when you're done reading it
fclose($fp);
$info = explode("*", $total);
$arraytotal = count($info) - 8;
?>
Emperor: Rise of Middle Kingdom for Windows $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank Newbie Product Reviewer:
The Emperor: Rise of Middle Kingdom for Windows is rated E for everyone – Violence. China has existed for over 4,000 years, but its 4,000 year history has been marked with new technologies and ideas replacing - or enhancing - the old. This is the world in which the player will take the reigns of leadership and take their cities through the twists and turns of Chinese history. Emperor: Rise of the Middle Kingdom offers gamers their first opportunity to play a city building game with their friends, online via the Internet. A great variety of both collaborative and competitive multiplayer games will be offered. Players may need to collaborate in building one of China's engineering marvels, or they may share a common goal to attain a certain level of affluence.” Great game for fans of the oriental type stuff. Good replay value”!
|
Pros: Good graphics and lots to do! Great replay value. |
Cons: Long time load the game. |
Emperor: Rise of Middle Kingdom for WindowsNewbie Rating
2 Thumbs UpReviews similar to our Emperor: Rise of Middle Kingdom for Windows Review:
The Sims 2 for Windows The The Sims 2 for Windows is rated T for teens - Violence and Crude H... Warcraft III: The Frozen Throne for Windows The Warcraft III: The Frozen Throne for Windows is rated T for teens -... Half-Life: Counter-Strike for Windows The Half-Life: Counter-Strike for Windows is rated M for mature - Anim... Train Simulator for Windows The Train Simulator for Windows is rated E for everyone. Features: Cus...