Well, you could change the your PHP config to turn on "allow_url_fopen" and "allow_url_include"; but keep in mind that allowing includes of URLs has a high security risk, as it enables the potential execution of malicious PHP code within your script. And in any case, it likely won't have the desired result anyway, as the remote server will most likely execute the PHP file there, and all your script will receive is the output (which will be nothing if the include file is just function/class definitions).