473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Disable global error reporting

given that i have no access to php.ini

how can i disable all the error reporting using a single method /
command ?

thanks.

Oct 11 '06 #1
3 7448

howa napisal(a):
given that i have no access to php.ini

how can i disable all the error reporting using a single method /
command ?
error_reporting(0);

Oct 11 '06 #2
You might not want to turn off error reporting but just suppress it so
the page does not display the errors. This can be done with the
following command:

ini_set('display_errors', 'Off');

Kirk

howa wrote:
given that i have no access to php.ini

how can i disable all the error reporting using a single method /
command ?

thanks.
Oct 11 '06 #3

Kirk Kimmel 寫道:
You might not want to turn off error reporting but just suppress it so
the page does not display the errors. This can be done with the
following command:

ini_set('display_errors', 'Off');

Kirk

howa wrote:
given that i have no access to php.ini

how can i disable all the error reporting using a single method /
command ?

thanks.
what is the difference?

thanks

Oct 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Peter Chant | last post by:
I'm having a bit of fun at the moment. I've written some php scripts that I am using with MySQL. The results of quieries are coming back in an array called 'row'. Now if an element (inxed) did...
1
by: Timh Bergstrm | last post by:
Hi all! Can i do a global "on error" statement for all forms and modules instead of having "on error goto ErrHand" in each sub/function? The error should be catched to another form there the...
1
by: bloodhound | last post by:
Hi, Problem with global.asa not firing 100% of the time. This error crops up several times throughout the day but if you wait a while and reload the page (could be 5 mins or an hour) it will...
7
by: Saintor | last post by:
What I do now is I put a value in the tag property, and using the form_current event, I run through all controls properties until the ones with the required tag value are met. Sound OK in theory,...
14
by: paul downing via DotNetMonster.com | last post by:
global file email send -------------------------------------------------------------------------------- guys, i'm developing an application and want to send an email with an error if it occurs...
9
by: Marc | last post by:
Okay, here's the problem - I have 3 radio buttons, and 11 check boxes (which are disabled by default). I have the javascript below which when the last radio button is clicked, enables the...
0
by: venkatsvasan | last post by:
Hi All In my machine Visual studio 2003 and Sql Reporting services 2005 installed. I have a websevice which is built on Visual studio 2003. When i am trying to install the same i am getting the...
7
by: Jason Kester | last post by:
Best I can tell, there are three basic ways you can deal with global error handling in ASP.NET. Namely: 1. Derive all your pages from a custom Page class, and override OnError() 2. Specify a...
1
by: google | last post by:
We need to be able to disable global operator new at compile time. We are developing a large library and need to control all memory allocation and cannot have a mistake whereby a mistaken use of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.