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-21088637");
$keywords="Gateway DC-T50 Digital Camera";
$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;
?>
Gateway DC-T50 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Gateway DC-T50 is a 5 megapixel CCD sensor that captures up to 2560 x 1920 pixel resolution. This stylish and compact unit has a multitude of features that you can find mostly on expensive high-end cameras. This is silver colored body comes with 3x Optical/2x Digital zoom with Auto focus, AVI movie clips at 15 pfs for 180 seconds, White balance, SD card memory, Built-in Flash with 4 operating modes, 1.5 -inch ( 61,000 pixels) LCD panel with optical viewfinder, connects via USB port to your computer and powered by lithium Battery.” This is a great high-resolution digital camera and good value for the price “.
Pros: Inexpensive, quality, features, nice and small |
Cons: No camera case, |
Gateway DC-T50 Digital CameraNewbie Rating
1 Thumbs UpReviews similar to our Gateway DC-T50 Digital Camera Review:
Pentax Optio A10 Digital Camera The Pentax Optio A10 Digital Camera features: 8 megapixels, 3x optical... Kodak EasyShare One Digital Camera The Kodak EasyShare One Digital Camera features: Auto focus: TTL auto-... Aiptek PocketCam DV 2 Digital Camera The Aiptek PocketCam DV 2 is a 1.3 megapixel CMOS sensor with image re... Sony Cyber-Shot DSC-P31 Digital Camera The Sony Cyber-Shot DSC-P31 is a 2.1 megapixel CCD sensor that captu...