php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30389 Remove beginning <br /> from error messages
Submitted: 2004-10-11 05:02 UTC Modified: 2004-10-11 06:46 UTC
From: php at sharpdreams dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2004-10-11 05:02 UTC] php at sharpdreams dot com
Description:
------------
If the INI setting error_prepend is set to anything, please remove the initial <br /> from output error messages. If the INI setting is not set, keep it with the initial <br />.

Reproduce code:
---------------
INI setting:
; error_prepend = "<font color=#ff0000>"

PHP
<?php  some_fatal_error(); ?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-11 06:46 UTC] tony2001@php.net
Use html_errors = Off for that.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat May 28 05:09:35 2022 UTC