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";);}
 else{}
$test_once=1;


One problem, if something goes wrong instead of doing nothing its displaying
warnings....even though I have put a @ in front trying to suppress them.....

Then I even tried to put "error_reporting(E_ALL ^ E_WARNING);" just above
"$test_once=0;"....but then I got:

Fatal error: Call to undefined function: phperror_reporting() in /i.php on
line 66

Any ideas?

Thanks,
-Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to