note 74462 deleted from ref.errorfunc by danbrown
| From: | danbrown@php.net | Date: | Thu, 18 Feb 2010 14:36:37 +0000 |
| Subject: | note 74462 deleted from ref.errorfunc by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166142@lists.php.net to get a copy of this message | ||
Note Submitter: tswaesch
----
In Addition to the hint according error_reporting and display_errors in case that there is a global
restriction that prevents showing the errors.
I tried the example of "petrov dot michael () gmail com" like this
<?php
ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);
include('index.php');
?>
and it works great, but first I tried it without using the "include"-part. I pasted all at
the beginning of my index.php and started it. This will NOT work.
Its highly IMPORTANT that the code to prove is included afterwards.
Hope it helps to prevent more #?!@%! errors. :-)=