note 74462 added to ref.errorfunc
| From: | tswaesch at osu1 dot php dot net | Date: | Thu, 12 Apr 2007 12:51:48 +0000 |
| Subject: | note 74462 added to ref.errorfunc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125336@lists.php.net to get a copy of this message | ||
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. :-)=
----
Server IP: 194.153.94.10
Probable Submitter: 84.176.83.68
----
Manual Page -- http://www.php.net/manual/en/ref.errorfunc.php
Edit -- https://master.php.net/note/edit/74462
Del: integrated -- https://master.php.net/note/delete/74462/integrated
Del: useless -- https://master.php.net/note/delete/74462/useless
Del: bad code -- https://master.php.net/note/delete/74462/bad+code
Del: spam -- https://master.php.net/note/delete/74462/spam
Del: non-english -- https://master.php.net/note/delete/74462/non-english
Del: in docs -- https://master.php.net/note/delete/74462/in+docs
Del: other reasons-- https://master.php.net/note/delete/74462
Reject -- https://master.php.net/note/reject/74462
Search -- https://master.php.net/manage/user-notes.php