note 85122 deleted from function.error-reporting by thiago
| From: | thiago@php.net | Date: | Wed, 22 Oct 2008 12:33:13 +0000 |
| Subject: | note 85122 deleted from function.error-reporting by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145577@lists.php.net to get a copy of this message | ||
Note Submitter: bizshop at bizshop dot com
Reason: bad code
----
Thanks info at hephoz dot de
I created a file debug.php, so I can debug any page by changing the address, like so:
http://mydomain.com/debug.php?badfile=problempage.php
<?php
$badfile=$_GET[badfile];
echo "$badfile<hr>";
error_reporting(E_ALL);
ini_set("display_errors", 1);
include("$badfile");
?>