I guess what is stumping me here is why it works correctly with a plain linear PHP script, but not in Cake. Cake causes the server configuration error, but the server should be fine since the PHP script executes successfully on the same server.
I can put my plain script at /app/webroot/script.php and it works. But going through the normal cake MVC pattern does not.
Thanks for the suggestion. Any insight as to what is causing hte file_get_contents problems with Cake is appeciated.
I will change as much of it as I can to curl and see what happens.
On 7/11/06, nate <[EMAIL PROTECTED]
> wrote:
Using any file functions (file_get_contents, fopen, etc.) against an
external URL is considered unsafe in general. Your best bet is to use
curl instead.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Re: file_get_contents() nate
- Re: file_get_contents() John Zimmerman [gmail]
- Re: file_get_contents() nate
- Re: file_get_contents() Samuel DeVore
- Re: file_get_contents() John Zimmerman [gmail]
- Re: file_get_contents() John Zimmerman [gmail]
