| | |
error_reporting() doesn't seem to work
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2007
Posts: 3
Reputation:
Solved Threads: 0
Hi,
I'm trying to not show the user a php error and have tried the following:
error_reporting(0); (may not be the best idea)
error_reporting(E_ERROR);
to remove a warning type error and it doesn't seem to work.
The php version is 4.3.2
display_errors is set to on
Anyone know why this doesn't seem to work for me?
Thanks,
Dave
I'm trying to not show the user a php error and have tried the following:
error_reporting(0); (may not be the best idea)
error_reporting(E_ERROR);
to remove a warning type error and it doesn't seem to work.
The php version is 4.3.2
display_errors is set to on
Anyone know why this doesn't seem to work for me?
Thanks,
Dave
Setting it to error_reporting(0) should work, as stated here:
http://www.mcs.vuw.ac.nz/technical/s...reporting.html
but you could try setting new values in a .htaccess file if your server supports it, such as,
display_errors off
within the .htaccess file
http://www.mcs.vuw.ac.nz/technical/s...reporting.html
but you could try setting new values in a .htaccess file if your server supports it, such as,
display_errors off
within the .htaccess file
![]() |
Similar Threads
- Dreamweaver email forms (ColdFusion)
- Open In New Window Php (PHP)
- Email piping to script problem (PHP)
- hello i need help please (PHP)
- Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource (PHP)
- I Need Help Please. Adding PHP Code To My Site. (PHP)
- change spaces in fields submitted (PHP)
Other Threads in the PHP Forum
- Previous Thread: Php Mysql : Code for Multiple Field Search
- Next Thread: progress bar
| Thread Tools | Search this Thread |
advanced ajax apache api array basics beginner binary broken cakephp check checkbox class cms code combobox cookies cron curl database date datepart display dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert integration ip java javascript job joomla js limit link login loop mail menu mlm multiple mysql oop parse password paypal pdf php problem procedure query radio random recursion regex remote script search server sessions smarty smash sms soap source space sql stored syntax system table traffic tutorial unicode update upload url validator variable video web xml youtube





