note 30627 deleted from function.phpinfo by philip
| From: | philip@php.net | Date: | Wed, 06 Apr 2005 03:47:34 +0000 |
| Subject: | note 30627 deleted from function.phpinfo by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87552@lists.php.net to get a copy of this message | ||
Note Submitter: dynom [ a] relavation * com
----
If you use a small page
replacing ';' and ',' to '; ' and ', ' (note the white
spaces) fixes wraping within the tables.
Aditionally ':' or '/' for very small sites
<?
ob_start();
phpinfo();
$php_info .= ob_get_contents();
ob_end_clean();
$php_info = str_replace(" width=\"600\"", " width=\"786\"",
$php_info);
$php_info = str_replace("</body></html>", "", $php_info);
$php_info = str_replace(";", "; ", $php_info);
$php_info = str_replace(",", ", ", $php_info);
$offset = strpos($php_info, "<table");
print substr($php_info, $offset);
?>