Re[2]: [PHP] supressing include warnings....

2004-01-06 Thread Richard Davey
Hello Ryan, Wednesday, January 7, 2004, 3:07:16 AM, you wrote: RA> Warning: RA> fopen(http://www.site.com/a/check.php?ver=2&update=0): failed to RA> open stream: HTTP request failed! HTTP/1.1 404 Not Found in /blah/i.php on RA> line 74 For me simply using the @ sign as you did before (with inclu

Re: [PHP] supressing include warnings....

2004-01-06 Thread Ryan A
Hi, Thanks for replying. I tried that and now I got a new error: Warning: fopen(http://www.site.com/a/check.php?ver=2&update=0): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /blah/i.php on line 74 What to do? How do I suppress it the error if something goes wrong? Tha

Re: [PHP] supressing include warnings....

2004-01-06 Thread Richard Davey
Hello Ryan, Wednesday, January 7, 2004, 2:17:11 AM, you wrote: RA> [EMAIL PROTECTED]("http://www.site.com/product/check.php?ver=2&update=0";);} RA> else{} RA> $test_once=1; RA> One problem, if something goes wrong instead of doing nothing its displaying RA> warningseven though I have put a

[PHP] supressing include warnings....

2004-01-06 Thread Ryan A
Hi again, I got it working so that I can include a remote file from the clients machine. I am doing it like this: $test_once=0; $allow_url_fop = (int) ini_get('allow_url_fopen'); if($test_once==0) { if($allow_url_fop == 1) [EMAIL PROTECTED]("http://www.site.com/product/check.php?ver=2&update=0";