Hi. I know how to supress error using @ for mySQL statements, but how do I do it using file?
My line is:
$FileArray = file ("http://domain.com/data/conditions/currcond.met");
and when the domian.com site is down I get:
Warning: file("http://domain.com/data/conditions/currcond.met") - Transport endpoint is not connected in /var/www/html/wwwroot2/file.php on line 266
How can I supress that? Searching for the answer is hard. '@' comes up many times as does 'error'.