PHP Classes

File: tools/php-info.php

Recommend this page to a friend!
  Classes of Kristo Vaher   Wave Framework   tools/php-info.php   Download  
File: tools/php-info.php
Role: Auxiliary script
Content type: text/plain
Description: PHP Info Tool
Class: Wave Framework
MVC framework for building Web sites and APIs
Author: By
Last change: removed references to waveframework.com
Date: 10 days ago
Size: 907 bytes
 

Contents

Class file image Download
<?php
/**
 * Wave Framework <http://github.com/kristovaher/Wave-Framework>
 * PHP Information
 *
 * This simple script is simply used to return current PHP information and call phpinfo()
 * function. This function details a lot of important information about PHP installation and
 * server setup.
 *
 * @package Tools
 * @author Kristo Vaher <kristo@waher.net>
 * @copyright Copyright (c) 2012, Kristo Vaher
 * @license GNU Lesser General Public License Version 3
 * @tutorial /doc/pages/guide_tools.htm
 * @since 1.0.0
 * @version 3.6.0
 */
// This initializes tools and authentication
require('.'.DIRECTORY_SEPARATOR.'tools_autoload.php');
// Simple phpinfo() is executed, returning all the relevant data about current installation
ob_start();
phpinfo();
echo
str_replace('<body>','<body>'.passwordNotification($config['http-authentication-password'],false),ob_get_clean());
   
?>