phpinfo()
(funzione PHP) restituisce tutte le informazioni, in forma HTML, delle impostazioni e dettagli dell’ambiente PHP del server.
tips&tricks
Sintassi
phpinfo($limitazione[facoltativo])
parametro | descrizione |
---|---|
$limitazione | Consente di limitare l’output secondo le seguenti costanti:INFO_ALL (default) All informationINFO_GENERAL General information about PHPINFO_CREDITS Credits for PHP, including the authorsINFO_CONFIGURATION Configuration and compilation optionsINFO_MODULES Currently loaded extensionsINFO_ENVIRONMENT Information about the PHP environmentINFO_VARIABLES A list of the current variables and their valuesINFO_LICENSE The PHP license
|
Esempi
phpinfo() // [omissis]
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment