What is phpinfo?
PHPinfo is a function that returns information, in HTML form, about the PHP environment on your server.
phpinfo() outputs plain text instead of HTML when using the CLI mode.
<?php
/* WARNING: NEVER include this file on your production machine
It's very useful for development but it also gives away WAY too much
information about your system if anyone got access to it.
*/
phpinfo();
?>
PHPinfo is a function that returns information, in HTML form, about the PHP environment on your server.
phpinfo() outputs plain text instead of HTML when using the CLI mode.
<?php
/* WARNING: NEVER include this file on your production machine
It's very useful for development but it also gives away WAY too much
information about your system if anyone got access to it.
*/
phpinfo();
?>
No comments:
Post a Comment