What does '.$_SERVER' means in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does '.$_SERVER' means in php

Using postgresql

9th Oct 2019, 8:34 AM
Lubna Javed Mansuri
Lubna Javed Mansuri - avatar
2 Answers
+ 1
FOLLOW ME $_SERVER $_SERVER is an array that includes information such as headers, paths, and script locations. The entries in this array are created by the web server. $_SERVER['SCRIPT_NAME'] returns the path of the current script:
9th Oct 2019, 8:35 AM
KfirWe
KfirWe - avatar
0
👍
9th Oct 2019, 2:54 PM
Lubna Javed Mansuri
Lubna Javed Mansuri - avatar