Documentation

server_data.php

\file \brief Useful software data.

Call: server_data.php

PHP version 8.1.1

Tags
category

User_Interface

author

HugoFara hugo.farajallah@protonmail.com

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/docs/html/index_8php.html
since
2.7.0

Table of Contents

Functions

get_server_data_table()  : array<string|int, false|float|string>
Return a lot of different server state variables.
display_content()  : void
Display the main content for the page.

Functions

get_server_data_table()

Return a lot of different server state variables.

get_server_data_table() : array<string|int, false|float|string>
Tags
global

string $tbpref Database table prefix

global

string $dbname Database name

psalm-return

array{db_name: string, db_prefix: string, db_size: float, server_soft: string, apache: string, php: false|string, mysql: string}

Return values
array<string|int, false|float|string>

{"db_prefix": string, "db_size": float, "server_soft": string[], "apache": string, "php": string, "mysql": string} Table prefix, database size, server software, apache version, PHP version, MySQL version

display_content()

Display the main content for the page.

display_content() : void

        
On this page

Search results