Post
Topic
Board Project Development
Re: Need help about PHP and API
by
PrivCoin
on 29/09/2017, 03:03:14 UTC
Quote
I do not understand your "add a @ in front of the call"

In PHP, adding a @ in front of a call disables any error related to this call. But you should globally disable error reporting in your php.ini.
Just read the doc Wink


I have put this:
Quote
ini_set('display_errors', 'off');
error_reporting(0);
But I do not see a difference.

about the @ I have not yet foud.

I don't think it's 'off', for PHP I'm pretty sure you want:

ini_set('display_errors', 0);
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);