$_SERVER is a predefined
'super global' variable.
$_SERVER contains information such as headers, paths, and script locations. The entries in this array are created by the web server. There is no guarantee that every web server will provide any of these; servers may omit some, or provide others not listed here.
1 2 3 4
<?php echo"<pre>"; print_r($_SERVER); ?>
Following are the information which can be retrieved using $_SERVER.
Latest posts by Parvez (see all)
- Bootstrap 4 alpha – New Features of Bootstrap in Coming Version - September 2, 2015
- Part 1: AngularJS Interview Questions And Answers - August 31, 2015
- Best PHP Framework for 2015 – PHP MVC Framework Trends - August 23, 2015