RE: [PHP] XML Parsing The Sequel II

From: Date: Sun, 11 Feb 2001 14:11:33 +0000
Subject: RE: [PHP] XML Parsing The Sequel II
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39123@lists.php.net to get a copy of this message
But how can I automate the saving locally of the file !!! -----Original Message----- From: Dave [mailto:dave@hawk-systems.com] Sent: zondag 11 februari 2001 14:44 To: PHP Mailing Listl (E-mail) Subject: RE: [PHP] XML Parsing The Sequel II here is some logic, I'm sure you can flesh out the code. fopen -r the URL read the results into a variable, fopen -w to write a local temp file (if the parser you build actially requires a "file") save it locally and pass the filename variable to your XML parser function if your parser can work from a variable, then just pass the read variable to your parser. Dave -----Original Message----- From: Steve Haemelinck [mailto:steve.haemelinck@pandora.be] Sent: Sunday, February 11, 2001 5:13 AM To: PHP Mailing Listl (E-mail) Subject: [PHP] XML Parsing The Sequel II Ok, yesterday I had problems parsing an XML from Nasdaq. Thx to Matt these problems have been solved and I am know able to parse any XML without problems (I hope). But I have one question: In order to parse an XML you have to tell your parser where to find the document: $xml_file = ''test.xml'; This works perfectly, but If you want to get the XML files from Nasdaq you have to say $xml_file = http://quotes.nasdaq.com/quote.dll?page=xml&mode=stock&symbol=NETA; This however doe not work !!! Why? How can I overcome this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39123) next »