My bad, you're absolutely right about file_get_contents.

The more I work with PHP 5 the more I grow to dislike having to do all
sorts of hacks and kludges to do the same thing in PHP 4.



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
>
> >
>


-- 
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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to