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-23169707");
$keywords="Half Life 2: Collector's Edition 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;
?>
Half Life 2: Collector's Edition for Windows $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank Newbie Product Reviewer:
The Half Life 2: Collector's Edition for Windows is rated is rated M for mature. The intense, real-time gameplay of Half-Life 2 is powered by Source, Valve's new proprietary engine technology, which provides major enhancements in character animation, artificial intelligence, graphics, and more. “ This is by far the best game ever created. It is more advanced than any game out there and it is extremely fun. Read the review to find out more”.
|
Pros: Amazing graphics, Amazing physics, great gameplay, Great music, Long game, huge world... perfect |
Cons: Some interface difficulties. |
Half Life 2: Collector's Edition for WindowsNewbie Rating
2 Thumbs UpReviews similar to our Half Life 2: Collector's Edition for Windows Review:
Vampire: The Masquerade Bloodlines for Windows The Vampire: The Masquerade Bloodlines for Windows is rated M for matu... Heroes of Might and Magic 4 for Windows The Heroes of Might and Magic 4 for Windows is rated E for everyone - ... Ultimate Yahtzee The Ultimate Yahtzee is rated E for everyone. A computer adaptation of... Zoo Tycoon: Complete Collection for Windows The Zoo Tycoon: Complete Collection for Windows is rated E for everyon...