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-22645772");
$keywords="Logitech Rumblepad 2 Vibration Gamepad (963325-0403)";
$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;
?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Logitech Rumblepad 2 Vibration Gamepad (963325-0403) features: Dual vibration feedback motors so you can feel all the hits, crashes, explosions, and many more effects . Rubber grips which is a specially textured rubber that gives you a solid grip. Familiar button layout: 10 programmable action buttons, plus Mode and Vibration selectors and 8-way D-pad Analog control: Two analog sticks give you a performance edge with smooth 360-degree control.
|
Pros: This product lets you experience every turn, bump, dip, and crash. |
Cons: Only a one year warranty. |
Logitech Rumblepad 2 Vibration Gamepad (963325-0403)Newbie Rating
2 Thumbs UpReviews similar to our Logitech Rumblepad 2 Vibration Gamepad (963325-0403) Review:
Pelican Wireless Controller for PlayStation2 (pelpl673) The Pelican Wireless Controller for PlayStation2 (pelpl673) features: ... Mad Catz 58226 Dual Force 2 Pro Advanced Analog Controller for PlayStation 2 (mad58226) The Mad Catz 58226 Dual Force 2 Pro Advanced Analog Controller for Pla... Mad Catz 8208 4-Player Multi-Port for PlayStation (mad8208) The Mad Catz 8208 4-Player Multi-Port for PlayStation (mad8208) lets f... Pelican Wireless Controller | GameCube The Pelican Wireless Controller | GameCube Features: Play from anywher...