Googlier.com News Article Search
Googlier.com Precious Metals Exchange Smart Contracts
Googlier.com Document Services





          Are there any concerns if I have database error reporting enabled on my live webpage?      
http://www.sitepoint.com/community/t/are-there-any-concerns-if-i-have-database-error-reporting-enabled-on-my-live-webpage/341749

@orclord1 wrote:

I thought I remember reading somewhere that error reporting should be disabled on a live website. I can’t find any info on that now, so I think it may be fine, but I would like to check if it is a concern at all?

Here is what I have enabled as options for MySQL queries:

$options = [
        PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,
        PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
        PDO::ATTR_EMULATE_PREPARES   => false,
    ];

Posts: 2

Participants: 2

Read full topic




Array ( [p] => 12 [I] => 7 [a] => 6 [PDO] => 5 [on] => 3 [gt] => 3 [ATTR] => 3 [blockquote] => 2 [community] => 2 [orclord] => 2 [pre] => 2 [it] => 2 [code] => 2 [sitepoint] => 2 [that] => 2 [FETCH] => 2 [be] => 2 [com] => 2 [www] => 2 [ERRMODE] => 2 [http] => 2 [any] => 2 [is] => 2 [if] => 2 [have] => 2 [error] => 2 [reporting] => 2 [enabled] => 2 [options] => 2 [live] => 2 [href] => 2 [t] => 2 [class] => 1 [lang-auto] => 1 [queries] => 1 [as] => 1 [MySQL] => 1 [for] => 1 [Are] => 1 [EXCEPTION] => 1 [DEFAULT] => 1 [MODE] => 1 [ASSOC] => 1 [EMULATE] => 1 [PREPARES] => 1 [Here] => 1 [false] => 1 [Posts] => 1 [Participants] => 1 [are-there-any-concerns-if-i-have-database-error-reporting-enabled-on-my-live-webpage] => 1 [Read] => 1 [full] => 1 [what] => 1 [think] => 1 [all] => 1 [website] => 1 [concerns] => 1 [database] => 1 [my] => 1 [webpage] => 1 [u] => 1 [wrote] => 1 [thought] => 1 [remember] => 1 [reading] => 1 [somewhere] => 1 [should] => 1 [disabled] => 1 [can] => 1 [at] => 1 [find] => 1 [info] => 1 [now] => 1 [so] => 1 [there] => 1 [may] => 1 [fine] => 1 [but] => 1 [would] => 1 [like] => 1 [to] => 1 [check] => 1 [concern] => 1 [topic] => 1 )

© Googlier LLC, 2019