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-22202079");
$keywords="Sony DVD Remote Control 97076 (scph-10420)";
$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;
?>
Sony DVD Remote Control 97076 (scph-10420) $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Sony DVD Remote Control 97076 (scph-10420) features: DVD remote allows users to play DVD movies through their PlayStation2. New DVD driver includes slow motion, chapter program, shuffle, and other viewing options. New buttons include Open/Close and Reset. Does not include IR receiver, which is needed by older PlayStation2 console models. Some PlayStation2 models require a memory card (sold separately) to store DVD driver info. DVD Remote has all the features of a standard controller plus enhanced DVD capabilities.
|
Pros: This is an exceptional value. |
Cons: Pause is an unavailable feature on the vast majority of DVDs. |
Sony DVD Remote Control 97076 (scph-10420)Newbie Rating
2 Thumbs UpReviews similar to our Sony DVD Remote Control 97076 (scph-10420) Review:
Sony PlayStation 2 DualShock 2 Controller (1145932) The Sony PlayStation 2 DualShock 2 Controller (1145932) offer greater ... Naki MiniCube Racing Wheel The Naki MiniCube Racing Wheel is easy to grasp with textured rubber h... Intec GameCube Indigo Battery Pak The Intec GameCube Indigo Battery Pak features include: Rechargeable b... Monster Cable PGL450CV/DV GameLink 450 Kit The Monster Cable PGL450CV/DV GameLink 450 Kit features: LightWave 100...