Learning with Texts - Fork  2.10.0-fork
Learn foreign languages with texts
Namespaces | Functions
server_data.php File Reference

Useful software data. More...

Namespaces

 Lwt
 

Functions

 get_server_data_table ()
 
 display_content ()
 

Detailed Description

Useful software data.

Call: server_data.php

PHP version 8.1.1

Function Documentation

◆ display_content()

Lwt\Interface\Server\Data\display_content ( )

Display the main content for the page.

Returns
void

◆ get_server_data_table()

Lwt\Interface\Server\Data\get_server_data_table ( )

Return a lot of different server state variables.

Returns
(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

@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}