Dal manuale:
URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename and List of Supported Protocols/Wrappers for a list of supported URL protocols.
In sostanza in php.ini allow_url_fopen deve essere settato a 1

Rispondi quotando