| How to use file_get_contents() (Dreamhost.com) |
|
|
|
| Written by Administrator | |
| Tuesday, 23 January 2007 | |
|
DreamHost has disabled the PHP option allow_url_fopen. Not working file_get_contents() . The CURL library provides a feature-rich alternative. Example:
Use: $ch = curl_init();
or even better, hides the cURL stuff in a function... // function to replace file_get_contents() |
|
| Last Updated ( Tuesday, 30 January 2007 ) |
| < Prev | Next > |
|---|


