⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
PHP
>
PHP Superglobals
>
$_SERVER
$_SERVER Tutorials
15 tutorials found.
📘
Server Environment Variables
$_SERVER | Definition | PHP
📘
Browser Information
$_SERVER | HTTP_USER_AGENT | PHP
📘
Client IP Address
$_SERVER | REMOTE_ADDR | PHP
📘
HTTP Method GET POST
$_SERVER | REQUEST_METHOD | PHP
📘
Requested URL Path
$_SERVER | REQUEST_URI | PHP
📘
Query String Part
$_SERVER | QUERY_STRING | PHP
📘
Script Path
$_SERVER | SCRIPT_NAME | PHP
📘
Current Script Filename
$_SERVER | PHP_SELF | PHP
📘
Server Hostname
$_SERVER | SERVER_NAME | PHP
📘
Server IP Address
$_SERVER | SERVER_ADDR | PHP
📘
Server Port Number
$_SERVER | SERVER_PORT | PHP
📘
Previous Page URL
$_SERVER | HTTP_REFERER | PHP
📘
Check if HTTPS Enabled
$_SERVER | HTTPS | PHP
📘
Host Header Value
$_SERVER | HTTP_HOST | PHP
📘
Web Root Directory
$_SERVER | DOCUMENT_ROOT | PHP