Bei zahlreichen Webspace-Providern ist die Funktionalität von file_get_contents für http deaktiviert. Es treten dann Fehlermeldungen wie
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [..] und
Warning: file_get_contents([..]) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [..]
auf. Mit folgender Funktion kann man das Verhalten von file_get_contents jedoch emulieren.