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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at sharpdreams dot com
New email:
PHP Version: OS:

 

 [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: Wed May 25 11:03:35 2022 UTC