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-20519591");
$keywords="Age of Wonders for Windows, Mac";
$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;
?>
Age of Wonders for Windows, Mac $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank Newbie Product Reviewer:
The Age of Wonders for Windows, Mac is rated E for everyone. The fragile balance that existed between the ancient races--Elves, Dwarves, Orcs, and other--has changed into a struggle for power and survival in the wake of the turmoil the Humans have brought to the land. Prepare for an adventure where you will uncover wondrous ancient artifacts, awesome magical power, and the secrets of a shattered empire. Ally with the forces of light or darkness to determine the fate of the earth in the Age of Wonders.
|
Pros: Excellent gameplay, graphics, and developer support. |
Cons: no random map generator, predictable after a long time. |
Age of Wonders for Windows, MacNewbie Rating
2 Thumbs UpReviews similar to our Age of Wonders for Windows, Mac Review:
Doom 3 for Windows The Doom 3 for Windows is rated M for mature - Blood and Gore and Inte... EverQuest: Omens of War (Expansion Pack) The EverQuest: Omens of War (Expansion Pack) is rated T for teens. Imm... Tiger Woods PGA Tour 2005 for Windows The Tiger Woods PGA Tour 2005 for Windows is rated E for everyone. Tak... Scrabble Complete for Windows The Scrabble Complete for Windows is rated E for everyone. In addition...