|  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
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  some_fatal_error(); ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-11 06:46 UTC]
Use html_errors = Off for that.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 12:01:29 2024 UTC