PHP Classes

File: example_standalone_no_login.php

Recommend this page to a friend!
  Classes of Thomas Trautner   Better PHPinfo   example_standalone_no_login.php   Download  
File: example_standalone_no_login.php
Role: Example script
Content type: text/plain
Description: Standalone without login
Class: Better PHPinfo
Get information about the current PHP request
Author: By
Last change:
Date: 1 month ago
Size: 473 bytes
 

Contents

Class file image Download
<?php
/**
 * Example: Standalone PHP Info Display without Authentication
 *
 * This example shows how to use the BetterPhpInfo class to display
 * a complete PHP information page without any authentication.
 *
 * Simply include the class file and call render() without parameters.
 */

// Include the BetterPhpInfo class
require_once 'BetterPhpInfo.php';

// Create instance and render the complete page
$betterPhpInfo = new BetterPhpInfo();
$betterPhpInfo->render();
?>