PHP.nl

phpcredits

phpcredits

Prints out the credits for PHP

true **phpcredits** int $flags

This function prints out the credits listing the PHP developers, modules, etc. It generates the appropriate HTML codes to insert the information in a page.

flags To generate a custom credits page, you may want to use the parameter. flags

return.true.always

Voorbeeld: Prints the general credits

<?php
phpcredits(CREDITS_GENERAL);
?>

Voorbeeld: Prints the core developers and the documentation group

<?php
phpcredits(CREDITS_GROUP | CREDITS_DOCS | CREDITS_FULLPAGE);
?>

Voorbeeld: Printing all the credits

<html>
 <head>
  <title>My credits page</title>
 </head>
 <body>
<?php
// some code of your own
phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);
// some more code
?>
 </body>
</html>

Opmerking: > outputs plain text instead of HTML when using the CLI mode. phpcredits

phpversion``phpinfo