| | |
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 |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite msqli_multi_query multiple mycodeisbad mysql oop parameter parse paypal pdf php problem query radio random recursion regex remote script search seo server sessions sms soap source space sql static structure syntax system table tutorial update upload url validation validator variable video web webdesign wordpress xml youtube





