Topic: For All Those Using Dreamhost
Hi guys,
Just a heads up to anyone hosting with Dreamhost: today they turned off allow_url_fopen on all servers, which will affect any extern.php includes you may be running (the "Guests and Registered Users Online" and "Recent/Active Discussions" are the ones I'm using. see the left sidebar labeled Latest Discussions on my site for an example. Rickard has it on the home page under Recent Posts).
This site will tell you how to fix the situation by using $curl.
Here's Dreamhost's official memo about it:
As previously announced on March 18, 2005, the allow_url_fopen PHP configuration has now
been turned off on all servers.If you are currently using this functionality in your PHP code, there is a more powerful and
flexible option available. PHP provides excellent support for curl library and its associated
functions.One of our own users has written a short article describing how it is used and that can be found
here:
http://blog.unitedheroes.net/archives/p/1630/The official PHP documentation for it is here:
http://us2.php.net/manual/en/ref.curl.phpThis change will significantly improve the security of PHP-based applications running on our
servers so we can spend more time giving you more features!Happy DreamHost PHP Security Team