note 30627 added to function.phpinfo

From: Date: Mon, 24 Mar 2003 12:29:06 +0000
Subject: note 30627 added to function.phpinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-45731@lists.php.net to get a copy of this message
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); ?> -- http://www.php.net/manual/en/function.phpinfo.php http://master.php.net/manage/user-notes.php?action=edit+30627 http://master.php.net/manage/user-notes.php?action=delete+30627 http://master.php.net/manage/user-notes.php?action=reject+30627

« previous php.notes (#45731) next »