URL file-access disabled

Im having a client who has a Shared hosting a/c in DreamHost.
I’ve used a PHP function called file_get_contents() but it seems file URL wrappers are off.

Warning: file_get_contents(): URL file-access is disabled in the server configuration in /xxx/xx/xxx.php on line nn

Any way to have URL wrappers on and any reason why DreamHosts disables this ? Most hosts allow this on.


Anjanesh Lekshminarayanan

See http://wiki.dreamhost.com/index.php/CURL

:cool: Perl / MySQL / HTML+CSS