Re: [SMARTY] Display Errors OFF
| From: | Dennis Gearon | Date: | Tue, 14 Jan 2003 16:58:00 +0000 |
| Subject: | Re: [SMARTY] Display Errors OFF | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7176@lists.php.net to get a copy of this message | ||
compose a file and put the following in it:
# ENABLE THIS FOR TROUBLE SHOOTING
php_value display_errors 0
save the file to your top most 'www' or 'public_html' root directory and name it
'.htaccess' . If
you already have that file, put those lines in it.
It is recommended to NOT leave that on, because it gives path information away when it reports an
error. If you are on a shared server, others on your server can learn the location of your files
and open them with their PHP scripts and read your passwords. Even if you're not on a shared
server, it can make attacks easier.
1/14/2003 5:46:32 AM, "John Thorne" <john@jrthorne.com> wrote:
>Hello
>ISP has PHP display error off
>I need to be able to see why my novice php code is not running
>syntax errors, includes in wrong directories etc.
>I have tried ErrorHandler CLASS with min success.
>Is there any way I "turn on" Display errors with sometype
>of include ....
>
>thanks
>
>jrt
>
>
>
>
>--
>Smarty General Mailing List (http://smarty.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>