URL file-access disabled

software development

#1

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.

Thanks

Anjanesh Lekshminarayanan


#2

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

:cool: Perl / MySQL / HTML+CSS