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-22461928");
$keywords="Sony Cyber-Shot DSC-W12 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-W12 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-W12 Digital Camera features: 5-megapixel sensor captures enough detail to create photo-quality 13-by-17-inch enlargements, 3x optical zoom plus 2x digital zoom for 6x total. As a Carl Zeiss optics; high-resolution movie mode with sound; large 2.5-inch LCD. It is compatible with Memory Stick and Memory Stick Pro media; includes 32 MB card. Plus it is powered by 2 AA batteries (NiMH rechargeables included) and connects to PCs and Macs via USB 2.0. Has a great scene selections such as: twilight, twilight portrait, landscape, soft snap, candle and beach. You can even transfer pictures from your digital camera to a compatible printer without a PC or image-editing software. “ The scene modes did an especially beautiful job with the mountains here in WV. I will continue ti use it this year when it warms up more. I go to the mountains a lot in the spring and summer.”
Pros: Great features, color and design, big screen, battery life. |
Cons: Nothing as I can see. |
Sony Cyber-Shot DSC-W12 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-W12 Digital Camera Review:
Casio Exilim EX-S500 Digital Camera The Casio Exilim EX-S500 Digital Camera features include: movies have ... Canon PowerShot A70 Digital Camera The Canon PowerShot A70 is a 3 Megapixel powerful digital camera with ... Olympus FE-110 Digital Camera With the Olympus FE-110 Digital Camera the pictures came out sharp and... Vivitar ViviCam 3715 Digital Camera The Vivitar ViviCam 3715 is a 3 megapixel CCD sensor that captures up...