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-20247061");
$keywords="Sony Cyber-Shot DSC-P51 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-P51 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-P51 is a 2.0 megapixel digital camera that delivers quality images up to 1600 x 1200 pixels. This camera has full set of features and its handy enough to carry and ready to shoot whenever you need it. It comes with features including 2x(41-82 mm)/3x digital zoom lens, Auto White balance, 320 x 240 (QVGA) video quality at 16 fps, ISO speeds, Memory Stick, 1.6- inch(61,600 pixels) LCD panel, Flash with four operating modes, USB connectivities and powered by 2-AA batteries. This camera is recommend to beginners and budget buyers who are looking for a 2MP level camera.
Pros: Features, quality, lightweight, easy to use, long battery life |
Cons:
|
Sony Cyber-Shot DSC-P51 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-P51 Digital Camera Review:
Casio Exilim EX-Z500 Digital Camera The Casio Exilim EX-Z500 Digital Camera is ease to use and has a very ... Sony Cyber-Shot DSC-T1 Digital Camera The Sony Cyber-shot DSC-T1 is a typical point-and-shoot camera, well-b... Pentax Optio A10 Digital Camera The Pentax Optio A10 Digital Camera features: 8 megapixels, 3x optical... Canon PowerShot SD500 / IXUS 700 Digital Camera The Canon PowerShot SD500 / IXUS 700 Digital Camera has very fast oper...