use this for remotefiles:
$file = fopen ("www.website.com\file.exe,"rb");
it openes the file for reading, you can than use: $content = fread ($file, filesize($file));
then $content contains the Binary bytecode of www.website.com\file.exe
You can also use:
$content = fgets ($file, filesize($file));
for normal text files, and html files!