Php trouble


I got mu php scripts uploaded.
but it came out below result when running

Warning: file_get_contents(): URL file-access is disabled in the server configuration in /home/.dudu/duosi/ on line 75

Warning: file_get_contents( failed to open stream: no suitable wrapper could be found in /home/.dudu/duosi/ on line 75

does this mean that the server not support file_get_content ?? if it is, can dh turn it on?

thank you!



file_get_contents has been disabled for security reasons (most responsible hosts do this nowadays).

See the wiki for an explanation and a workaround:
Allow url fopen

[color=#000000]DreamHost Promo Code[/color]: [color=#CC0000]Save $50[/color] with the promo code DREAMTEAM


All it means it that the script is trying to access an absolute url address. To get around this “security risk” you can use curl if you are trying to access another domain, or use a relative address if you are trying to access your own domain.
Examples of absolute vs. relative:
Absolute is
Relative is directory/file.html