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-23644041");
$keywords="Samsung SIR-T451 DirecTV DTV Receiver";
$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;
?>
Samsung SIR-T451 DirecTV DTV Receiver $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Samsung SIR-T451 DirecTV DTV Receiver lets you enjoy the detail and clarity of high-definition images on your an HD-compatible TV. When connected to a digital TV monitor and standard antenna, this receiver will deliver and decode free, over-the-air digital programming. QAM capability means you can get over-the-air digital cable signals, too. No matter what type of signal your digital TV accepts—1080i, 720p or 480p/i—this receiver can accommodate it. “ I love this Receiver, great buy.”
|
Pros: Attractive styling. Good channel pick-up. Flexible connectivity |
Cons: Hard to find, often sells out. |
Samsung SIR-T451 DirecTV DTV ReceiverNewbie Rating
2 Thumbs UpReviews similar to our Samsung SIR-T451 DirecTV DTV Receiver Review:
RCA DVR10 40-Hours Digital Video Recorder The RCA DVR10 40-Hours Digital Video Recorder is a Digital Video Recor... Tivo Series 2 (40 Hours) 40-Hours Digital Video Recorder The Tivo Series 2 (40 Hours) 40-Hours Digital Video Recorder has a sma... Humax T800 TiVo 80-Hours Video Recorder The Humax T800 TiVo 80-Hours Video Recorder comes with a one year warr... Samsung SIR-S4040R 35-Hours Digital Video Recorder The Samsung SIR-S4040R 35-Hours Digital Video Recorder is a DVR which ...