Accessing Super Global Variables in PHP


PHP provides several super global variables, such as $_SERVER for accessing server and execution environment information.

Source Code

echo $_SERVER['HTTP_USER_AGENT']; // Outputs the user's browser information
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments