Hi James,
Your code looks good in general, but you'll want to use the older
Services_EVDB for PHP4:
http://api.eventful.com/libs/Services_EVDB
It's very similar, so you should be able to swap 'Services_Eventful'
with 'Services_EVDB' in your code sample. The result ($event) is an
XML_Unserializer data structure, so getting the events is pretty
simple: $event->event[0]->title and so forth.
http://pear.php.net/reference/XML_Serializer-0.6/XML_Serializer/XML_Unserializer.html
Let me know if you have any questions.
Cheers,
Chris Radcliff
[email protected]
On Oct 6, 2009, at 9:07 PM, =James Birkholz= wrote:
The only sample code for php that I could find was the below:
I uploaded Services/Eventful.php into a test directory on the acct
on my hosted server.
I uploaded get_event.php into the test directory.
After playing with it and pieces clues together from the website, I
realize that this sample doesn't do what I want.
1) will Eventful.php work with php4? ( I'm not on a php5 server, yet)
2) where can I find examples to use the api in php to get all public
events for a zip code and then parrse them into some container that
I can manipulate in php?