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-21886982");
$keywords="Sony Cyber-Shot DSC-P100 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-P100 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-P100 is stylish and speedy digital camera with 5.0 megapixels resolution. It has rich features in a small pocket size body and so nice to carry with you anywhere you go. It is able to produce images of accurate color and comes with advanced features including a 1.8-inch LCD that performs well in direct sunlight, 3x (7.9 - 23.7 mm) optical /2x digital zoom, built-in flash, and runs on a lithium battery that lasts longer. This standard point and shoot camera has few good qualities but if you are looking for portability and ease of use, this camera is worth it.
Pros: Pocket size, features, performance, price portability, ease of use |
Cons: Expensive Memory Stick, small control buttons |
Sony Cyber-Shot DSC-P100 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-P100 Digital Camera Review:
Fuji FinePix V10 Digital Camera The Fuji FinePix V10 Digital Camera has a 5 megapizels, 3.4x optical z... Sony Cyber-Shot DSC-F88 Digital Camera The Sony Cyber-Shot DSC-F8 is a 5 megapixels digital camera with advan... Panasonic Lumix DMC-LC50 Digital Camera The Panasonic DMC-LC50 Lumix is a 3-megapixel digital camera that deli... Mustek MDC-6500Z Digital Camera The Mustek MDC-6500Z is a 5.0 megapixels digital camera that delivers...