php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6291 phpinfo returns bad html
Submitted: 2000-08-22 08:13 UTC Modified: 2001-02-10 16:14 UTC
From: benoit dot sibaud at rd dot francetelecom dot fr Assigned:
Status: Closed Package: *General Issues
PHP Version: 3.0.16 OS: Linux Debian Potato
Private report: No CVE-ID: None
 [2000-08-22 08:13 UTC] benoit dot sibaud at rd dot francetelecom dot fr
phpinfo() function returns bad html (info from http://validator.w3.org )

Parts of phpinfo() 

*ERROR 1*
<td bgcolor="#DDDDDD"><tt>CFLAGS=<br>HSREGEX=</td>


         HSREGEX=</td></tr>
                     ^
       Error: end tag for "TT" omitted, but its declaration does not permit this

         <td bgcolor="#DDDDDD"><tt>CFLAGS=<br>
                               ^
       Error: start tag was here

*ERROR 2*
Loaded modules: mod_php3, mod_setenvif, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_digest, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_alias, mod_proxy, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_macro, mod_so, http_core<br></td?</tr>

    Problem with </td?

*ERROR 3*
<tr><td bgcolor="#999999">arg_separator</td><td bgcolor="#DDDDDD">&nbsp;&</td><td bgcolor="#DDDDDD">&nbsp;&</td></tr>

   & should be &amp;

*ERROR 4*
<font color=#000000> (and many other <font> tags)

  color="#000000"> is better


Perhaps there are more errors but it needs to correct all of above before seeing them.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 16:04 UTC] jimw@php.net
not going to be fixed.
 [2001-02-10 16:14 UTC] derick@php.net
Actually, the second error has been fixed recently
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 10:01:29 2024 UTC