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-23794331");
$keywords="Sony Cyber-Shot DSC-H1 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;
?>
Sony Cyber-Shot DSC-H1 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-H1 Digital Camera stores images on Memory Stick media (32MB of internal memory included); powered by AA-size batteries. I like the fact that it only take two batteries. It has an amazing 12x optical zoom; 2.5-inch LCD display. Theimage stabilization system you can capture stunning long-distance images with very little blurring. This great little camera operates Apple Mac OS X, Microsoft Windows 2000, Microsoft Windows 98, Microsoft Windows 98SE, Microsoft Windows ME, Microsoft Windows XP Home Edition, Microsoft Windows XP Professional. The H1digital camera has a conversion lens compatible so you can easily add optional telephoto and wide-angle lenses for even greater optical range. “ I love this camera. It has really helped me to expand my creativity. Plus it's very easy to operate and use.”
Pros: Good photo quality, excellent controls. I like just about everything about this camera. |
Cons: Problems with low light problems. |
Sony Cyber-Shot DSC-H1 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-H1 Digital Camera Review:
Hewlett Packard PhotoSmart R707 Digital Camera The HP Photosmart R707 is a 5 megapixels digital with elegant and erg... Kodak EasyShare CX7430 Digital Camera The Kodak EasyShare CX7430 is a 4.0 Megapixel CCD digital camera capab... Fujifilm A210 3.2 MP Digital Camera w/3x Optical Zoom I was very impressed with its picture quality and overall durability. ... Mustek Gsmart Mini 3 Digital Camera The Mustek Gsmart Mini 3 is a 2 megapixel digital camera that deliver...