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-22196138");
$keywords="Logitech Zephyr Control Gamepad for Xbox ( 963310-0403 ) (c20155)";
$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 Zephyr Control Gamepad for Xbox ( 963310-0403 ) (c20155) features: Comfortable Design with Specially Textured Rubber so you never lose your grip, even in the heat of intense gaming. Experience Two Vibration Feedback Motors tp make you feel like you're part of the action. Fire any Action Button Automatically Using the Turbo/AutoFire Function, Stretch out With 9.5 Feet (3 meters) of Cable, Take Advantage of Two Expansion Slots for Memory Cards to extend your play! Plus much more.
|
Pros: Many great features. |
Cons: Costs |
Logitech Zephyr Control Gamepad for Xbox ( 963310-0403 ) (c20155)Newbie Rating
2 Thumbs UpReviews similar to our Logitech Zephyr Control Gamepad for Xbox ( 963310-0403 ) (c20155) Review:
Pelikan Afterglow Controller for Play Station 2 (PL-691) (PL691) The Pelikan Afterglow Controller for Play Station 2 (PL-691) (PL691) l... Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) The Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) conne... Pelican Afterglow PL-678 (pelpl678) The Pelican Afterglow PL-678 (pelpl678) features: Four buttons and two... Logitech Flight Force Joystick (9633180403) The Logitech Flight Force Joystick (9633180403) includes a twist handl...