note 77081 added to function.phpinfo
| From: | jo at durchholz dot org | Date: | Tue, 14 Aug 2007 09:43:50 +0000 |
| Subject: | note 77081 added to function.phpinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129467@lists.php.net to get a copy of this message | ||
Here's a variant of "print it without headers, but include the style information":
<?php
ob_start();
phpinfo();
$info = ob_get_clean ();
$matches = array ();
$i = preg_match ('%(<style
type="text/css">.*</style>).*<body>(.*)</body>%s', $info,
$matches);
print $matches [1]; # Style information
print $matches [2]; # Body
----
Server IP: 69.147.83.197
Probable Submitter: 87.182.52.181
----
Manual Page -- http://www.php.net/manual/en/function.phpinfo.php
Edit -- https://master.php.net/note/edit/77081
Del: integrated -- https://master.php.net/note/delete/77081/integrated
Del: useless -- https://master.php.net/note/delete/77081/useless
Del: bad code -- https://master.php.net/note/delete/77081/bad+code
Del: spam -- https://master.php.net/note/delete/77081/spam
Del: non-english -- https://master.php.net/note/delete/77081/non-english
Del: in docs -- https://master.php.net/note/delete/77081/in+docs
Del: other reasons-- https://master.php.net/note/delete/77081
Reject -- https://master.php.net/note/reject/77081
Search -- https://master.php.net/manage/user-notes.php