Code: Select all
require('text.file");
include("text.file");
and
error_reporting( E_ALL );
$url = 'text.txt';
if ( ($fp = fopen($url,'r')) == true ) {echo $status = '';fpassthru($fp);}
else {echo $status = 'bad';
$fp = fopen($url);
}
I've got some cool ideas but I'm a terrible programmer, any help would be greatly appreciated.