What exactly is this $_server do ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What exactly is this $_server do ?

i'm new as hell in programming. its not getting in my server yuno..

11th Nov 2016, 2:05 PM
Deepak Tiwari
1 Antwort
+ 1
$_Server is a superglobal array wich offers you informations about the server your script is running on. Sometimes it is important, to check if the server does have all the requirements installed therefor you could use this variable. for example if there is a special Version of PHP installed or a needed module.
11th Nov 2016, 2:47 PM
jmey