Re: [PHP] Re: $35 to the first person who can do this XML-parsing PHP script

2007-03-08 Thread Jeremy Privett

Rob Gould wrote:
Ok, well at least I'm honing in on the problems now.  I appears that 
my ISP is only running php 4.4.4.


So back in the PHP 4-days, what was the preferred method of doing such 
things?


- Rob


Expat would probably be the way to go, then.

http://www.php.net/xml

--
Jeremy C. Privett
Chief Operating Officer
Zend Certified Engineer
Completely Unique
[EMAIL PROTECTED]

Phone: 303.459.4819
Mobile:303.883.0312
Fax:   303.459.4821
Web:   www.completelyunique.com

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review or distribution by others is strictly 
prohibited. If you are not the intended recipient please contact the sender and 
delete all copies. Your compliance is appreciated.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: $35 to the first person who can do this XML-parsing PHP script

2007-03-08 Thread Rob Gould
Ok, well at least I'm honing in on the problems now.  I appears that  
my ISP is only running php 4.4.4.


So back in the PHP 4-days, what was the preferred method of doing  
such things?


- Rob



On Mar 8, 2007, at 3:13 PM, Ben Ramsey wrote:

On 3/8/07 2:59 PM, Rob Gould wrote:
1)  Read XML data from an URL (www.librarytools.com/events/ 
sampledata.txt)
2)  Loop through all XML results and print to the screen the  
"eventname" and "eventnextoccurrencedate" (Just the date) values
I'll probably kick myself once I see how easy it is, but I'm  
willing to pay to see it working.  Feel free to email me off-list.


If you're using PHP 5, take a look at SimpleXML. This is extremely  
easy to do.


http://www.php.net/simplexml

Take a look at Example 2134 on that page to get you started, and  
see http://www.php.net/simplexml_load_file to load XML from a URL.


Do I get the $35 anyway for the consultation? ;-)

--
Ben Ramsey
http://benramsey.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






Re: [PHP] Re: $35 to the first person who can do this XML-parsing PHP script

2007-03-08 Thread Tijnema !

On 3/8/07, Ben Ramsey <[EMAIL PROTECTED]> wrote:


On 3/8/07 2:59 PM, Rob Gould wrote:
> 1)  Read XML data from an URL (
www.librarytools.com/events/sampledata.txt)
> 2)  Loop through all XML results and print to the screen the "eventname"
> and "eventnextoccurrencedate" (Just the date) values
>
> I'll probably kick myself once I see how easy it is, but I'm willing to
> pay to see it working.  Feel free to email me off-list.

If you're using PHP 5, take a look at SimpleXML. This is extremely easy
to do.

http://www.php.net/simplexml

Take a look at Example 2134 on that page to get you started, and see
http://www.php.net/simplexml_load_file to load XML from a URL.

Do I get the $35 anyway for the consultation? ;-)

--
Ben Ramsey
http://benramsey.com/



Well ben, now i can make the script for Rob :P

No i won't as i think he can do himself.

Tijnema

--

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: $35 to the first person who can do this XML-parsing PHP script

2007-03-08 Thread Ben Ramsey

On 3/8/07 2:59 PM, Rob Gould wrote:

1)  Read XML data from an URL (www.librarytools.com/events/sampledata.txt)
2)  Loop through all XML results and print to the screen the "eventname" 
and "eventnextoccurrencedate" (Just the date) values


I'll probably kick myself once I see how easy it is, but I'm willing to 
pay to see it working.  Feel free to email me off-list.


If you're using PHP 5, take a look at SimpleXML. This is extremely easy 
to do.


http://www.php.net/simplexml

Take a look at Example 2134 on that page to get you started, and see 
http://www.php.net/simplexml_load_file to load XML from a URL.


Do I get the $35 anyway for the consultation? ;-)

--
Ben Ramsey
http://benramsey.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php