RE: [PHP] blocking warning: Warning: fclose()

2004-03-30 Thread Rick Fletcher
> The problem is when the query does not succeed it outputs this: > > Warning: fclose(): supplied argument is not a valid stream > resource in c:\php\www\test-scripts\index.php on line 42 > > is there any way to "block" just this warning while keeping > all other error handling as is? Yes, the

[PHP] blocking warning: Warning: fclose()

2004-03-30 Thread Ryan A
Hi, I am using fopen to query my site from the clients site and then display the output of the query. The problem is when the query does not succeed it outputs this: Warning: fclose(): supplied argument is not a valid stream resource in c:\php\www\test-scripts\index.php on line 42 is there any wa