Re: Credits page

From: Date: Fri, 09 Mar 2001 18:57:52 +0000
Subject: Re: Credits page
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4338@lists.php.net to get a copy of this message
you can pass a flag to the phpcredits() function to turn off the header/footer stuff. (doesn't fix the style problem, which is just silly. the php info functions shouldn't be screwing with the base style, it should be putting things into classes and messing with those. better yet, it shouldn't be bothering to screw with the styles at all.) another thing to think about is just putting the generated credits into cvs and not using phpcredits() -- this will make it so we can actually keep the credits page on the mirror in sync and up to date, since all of the mirrors may not all be running the latest version of php. jim On Thu, Mar 08, 2001 at 11:40:39PM -0500, Colin Viebrock wrote: > 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 >

« previous php.mirrors (#4338) next »