note 106171 added to function.phpinfo
| From: | pokusman at gmail dot com | Date: | Sun, 16 Oct 2011 14:10:27 +0000 |
| Subject: | note 106171 added to function.phpinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183910@lists.php.net to get a copy of this message | ||
Editable css for phpinfo() all what you need is change css properies...
<style type="text/css">
#phpinfo body, td, th, h1, h2 {font-family: sans-serif;}
#phpinfo pre {margin: 0px; font-family: monospace;}
#phpinfo a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
#phpinfo a:hover {text-decoration: underline;}
#phpinfo table {border-collapse: collapse; width:100%}
#phpinfo .center {text-align: center;}
#phpinfo .center table { margin-left: auto; margin-right: auto; text-align: left;}
#phpinfo .center th { text-align: center !important; }
#phpinfo td, th { border: 1px solid #000000; font-size: 100%; vertical-align: baseline;}
#phpinfo h1 {font-size: 150%;}
#phpinfo h2 {font-size: 125%;}
#phpinfo .p {text-align: left;}
#phpinfo .e {background-color: #ccccff; font-weight: bold; color: #000000;}
#phpinfo .h {background-color: #9999cc; font-weight: bold; color: #000000;}
#phpinfo .v {background-color: #cccccc; color: #000000;}
#phpinfo .vr {background-color: #cccccc; text-align: right; color: #000000;}
#phpinfo img {float: right; border: 0px;}
#phpinfo hr {width: 800px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
</style>
<div id="phpinfo">
<?php
ob_start () ;
phpinfo () ;
$pinfo = ob_get_contents () ;
ob_end_clean () ;
// the name attribute "module_Zend Optimizer" of an anker-tag is not xhtml valide, so
replace it with "module_Zend_Optimizer"
echo ( str_replace ( "module_Zend Optimizer", "module_Zend_Optimizer",
preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo ) ) ) ;
?>
</div>
----
Server IP: 208.69.120.55
Probable Submitter: 31.52.227.165
----
Manual Page -- http://www.php.net/manual/en/function.phpinfo.php
Edit -- https://master.php.net/note/edit/106171
Del: integrated -- https://master.php.net/note/delete/106171/integrated
Del: useless -- https://master.php.net/note/delete/106171/useless
Del: bad code -- https://master.php.net/note/delete/106171/bad+code
Del: spam -- https://master.php.net/note/delete/106171/spam
Del: non-english -- https://master.php.net/note/delete/106171/non-english
Del: in docs -- https://master.php.net/note/delete/106171/in+docs
Del: other reasons-- https://master.php.net/note/delete/106171
Reject -- https://master.php.net/note/reject/106171
Search -- https://master.php.net/manage/user-notes.php