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-22291292");
$keywords="Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i)";
$mode="videogames";
$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;
?>
Newbie Review by The Electric Monkey Newbie Product Reviewer:
The Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) connects you to the world of online PS2 gaming. Use your existing ISP to go online and play any of the cool PS2 compatible online games against opponents from around the world. GO.net is a broadband network adaptor to connect your PS2 to Ethernet 100Base-TX 10Base-T compatible networks and devices such as cable modems and routers by simple RJ45 connection.
|
Pros: Easily connects to the PS2 through the USB port. |
Cons: Not compatiable with all games. |
Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i)Newbie Rating
1 Thumbs UpReviews similar to our Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) Review:
Intec G-Force Controller- Indigo The Intec G-Force Controller- Indigo is an advanced controller for bet... Hip Interactive Wireless Controller (LM575) The Hip Interactive Wireless Controller (LM575) features include: 2.4G... VIVENDI UNIVERSAL World Of Warcraft 60 Day Time Card (WORLDOFWCT) The VIVENDI UNIVERSAL World Of Warcraft 60 Day Time Card (WORLDOFWCT) ... Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) The Datel Go-Net Network Adapter for PlayStation 2 (itcdus0024i) conne...