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-Pentax_EI-100_Digital_Camera");
$keywords="Pentax EI-100 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;
?>
Pentax EI-100 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Pentax EI-100 is a 1.3 megapixel CCD sensor capable of image resolution up to 1280 x 960. This is an easy to operate and a conventional compact camera, perfect for entry-level users to the digital world. It has a 2x digital zoom capabilities, ISO speeds and Auto White balance modes, 1.8- inch LCD panel with optical viewfinder, Built-in Flash with 4 operating modes, connects via USB port to your computer and powered by 4 x AAA Batteries. The included 8 MB SD card is expandable and using CompactFlash Card Type I. This camera is pocket sized and nice to carry with you anytime..
Pros: Good Price, easy to use, compact, lightweight |
Cons: Short battery life |
Pentax EI-100 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax EI-100 Digital Camera Review:
Sony Cyber-Shot DSC-P31 Digital Camera The Sony Cyber-Shot DSC-P31 is a 2.1 megapixel CCD sensor that captu... Canon PowerShot SD200 / IXUS 30 Digital Camera The Canon PowerShot SD200 / IXUS 30 Digital Camera gives you true crea... BenQ DC1300 Digital Camera The BenQ DC1300 is a 1.36 megapixel CCD sensor that captures up to 1... Hewlett Packard Photosmart R817 Digital Camera The Hewlett Packard Photosmart R817 Digital Camera has a 5 megapixel r...