The library that uses the file_get_contents() function on the external URL is not my code, but I can modify the library to use curl I guess and notify the author.

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

Reply via email to