Hello Solo Leraners, Can anyone help me with elaborate about the $server variable host name method in php? | Sololearn: Learn to code for FREE!

+1

Hello Solo Leraners, Can anyone help me with elaborate about the $server variable host name method in php?

Thanks for the helping

php

7/24/2021 2:09:44 PM

Siddharth K

2 Answers

New Answer

+2

$_SERVER is a super global array that is visible in all files .php on the server. In fact, this is the same associative array with its own keys and values. To view the list of keys, you can enter: print_r($_SERVER);

0

Thanks bro