Using Phoogle with WordPress (and Dreamhost)

Dreamhost is a great webhost, in fact if you use the promo code:PHOOGLE at signup you can get 1 year of their level1 hosting for 44.40 (which is less than 4.00 a month). This is normally priced at 119.40!, so you save $75.00!! Back to the topic at hand. Phoogle by default uses file_get_contents() to [...]

Dreamhost is a great webhost, in fact if you use the promo code:PHOOGLE at signup you can get 1 year of their level1 hosting for 44.40 (which is less than 4.00 a month). This is normally priced at 119.40!, so you save $75.00!!

Back to the topic at hand. Phoogle by default uses file_get_contents() to access the Yahoo Maps API to get Latitude and Longitude data to pass to your Google Map. Dreamhost disables file_get_contents() for security purposes. However you can get around this by using CURL

Alex Hillman emailed me to tell me that he had written a post to his blog detailing his install of Phoogle on WordPress and how to change it to use CURL so that it will work on Dreamhost (pretty simple actually)

Check out Alex’s blog post about Using Phoogle on Dreamhost