Credits page
| From: | Colin Viebrock | Date: | Fri, 09 Mar 2001 04:40:39 +0000 |
| Subject: | Credits page | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-4323@lists.php.net to get a copy of this message | ||
Take a look at the credits page on the new site.
Seems that the phpcredits() function outputs an entire webpage, from <HTML>
to </HTML>. Including some CSS code.
This means we then have not only badly-formed HTML on the site, but
competing CSS info, which changes the size of all the fonts on the page ...
at least on my browser.
Suggestions? One thing would be to use the output buffering functions to
catch the output from phpcredits(), then use preg_replace or something to
strip the offending HTML.
Or make the "credits" link pop up a new window that just has <?
phpcredits(); ?> in it.
- Colin