I have no need to parse xml as the response is in php serialized. My only concern is doing in php the http request and after some searches I think will use the pear package html client as my host has no curl.
Thanks for your response. I was wondering if cake 1.2 has or will have included classes for web modelling from external websites. gOOD eASTER On 7 Apr, 00:03, "Eric C Blount" <[EMAIL PROTECTED]> wrote: > After searching for a couple of minutes, I found the XML class Kjell is > speaking of:http://keithdevens.com/software/phpxml > > In case anyone else was as interested as I was... > > HTH, > Eric > > On 4/6/07, Kjell Bublitz <[EMAIL PROTECTED]> wrote: > > > > > Chris, i think you switched something here. > > > file_get_contents is available since PHP 4.3.0. > > It is file_put_contents which is only available in PHP5. > > > I second that XML parsing sucks in PHP4. There is a wonderful class > > available i used in many projects already. It's a xml class from Keith > > Devens (google). But it is strictly for PHP4, because it uses a method > > which is deprecated in PHP5, so watch it. > > > Hope this helps. > > > On 4/6/07, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > > > I second what Kjell said: file_get_contents is your easiest solution > > > if using PHP 5, otherwise use the curl functions. XML parsing sucks > > > in PHP 4, so I hope you can use PHP 5. > > > > Give me SimpleXML or give me death! :) > > > > On 4/6/07, Tonyz <[EMAIL PROTECTED]> wrote: > > > > > I read this article on yahoo developer network because I would like in > > > > my cake app to display search results from yahoo. The article is at > > > >http://developer.yahoo.com/php/howto-reqRestPhp.html > > > > > There is some built in class of cake who can perform rest request to a > > > > webserver with curl or file_get_contents? > > > > -- > > > Chris Hartjes > > > > My motto for 2007: "Just build it, damnit!" > > > > rallyhat.com - digital photo scavenger hunt > > > @TheBallpark -http://www.littlehart.net/attheballpark > > > @TheKeyboard -http://www.littlehart.net/atthekeyboard > > > -- > > Regards, Kjell > >www.m3nt0r.de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
