fopen()

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?
 
ahhhh.... yes.... lol, now that i think about it, I dont know why i didnt figure that out myself, since I use it when selecting a mysql table.... :oops: .... thanks!
 
Back
Top