A
Anonymous
Guest
i have something like this now:
$h = fopen("url?name=mine","r");
if($h){
execute some code...
}
but i still get a warning in the output file if fopen fails to connect to the url.
my question is is there a way to catch the error so it doesnt display in the output file?
$h = fopen("url?name=mine","r");
if($h){
execute some code...
}
but i still get a warning in the output file if fopen fails to connect to the url.
my question is is there a way to catch the error so it doesnt display in the output file?