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-21279922");
$keywords="Sony MDR-CD180 Consumer Headphones";
$mode="electronics";
$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 MDR-CD180 Consumer Headphones $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank Costanza Newbie Product Reviewer:
The MDR-CD180 CD series headphone features 30mm drivers for deep bass, wide dynamic range and frequency response, along with cloth ear pads for extended listening sessions. The headphone features Aura-Nomic design and virtual shaft mechanism in the headphone housing to position the ear pads in according to the angle of the user's head, for a stable and comfortable fit. Gold-plated plug, Includes.. Accessories Connector coupler External Color Gold. Base Warranty 1 year warranty. “ This is a great headphone, I have had one for awhile and I have had no problems”.
Pros: indestructible, light, blocks out external sound really well, excellent sound quality |
Cons: Poor sound quality, very poorly designed headband |
Sony MDR-CD180 Consumer HeadphonesNewbie Rating
2 Thumbs UpReviews similar to our Sony MDR-CD180 Consumer Headphones Review:
Sony MDR-RF975RK Headphones The Sony MDR-RF975RK Headphones provides better sound quality and grea... Sennheiser PX-200 Consumer Headphones The Sennheiser PX-200 Consumer Headphones are an excellent isolation t... Sony MDR-DS5100 Consumer Headphones The Sony MDR-DS5100 Consumer Headphones features: 5.1ch Digital surrou... Koss QZ-5 Consumer Headphones The Koss QZ-5 Consumer Headphones Features neodymium magnet structures...