| | |
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 broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email encode error fcc file files folder form forms function functions google howtowriteathesis href htaccess html image include insert integration ip java javascript joomla limit link login loop mail menu methods mlm mod_rewrite multiple multipletables mysql oop open parse paypal pdf php problem provider query radio random recursion regex remote script search select server sessions sms soap source space speed sql structure syntax system table template tutorial update upload url validation validator variable video web xml youtube





