Mega Code Archive

 
Categories / Php / File Directory
 

Opening a remote file

<?php $fh = fopen('http://www.example.com/robots.txt','r') or die($php_errormsg); ?>