What is Activity Tracking in Server ?

1. generally there are two type of resources

1. serverfull

2. serveless

serverfull resources acquires complete tracking of user and they reponse over the server few or more resources cannot be shared in if resources is accessed from server protocol medium.

 

PHP Tracking : Enable or disable

1 => Enabled  do not track : disabled 0

0 => Disabled do not track : enabled 1



Serverless Resources acquires InComplete Tracking of the user and they can response over the server without direct intervention of server.

 

They are not tracked by any server in this case In serverless resources can access any type of data from any source.

html Tracking :disable

Explanation :

$_SERVER : Complete Array of Server Configuration and Setting

$_SERVER Stores the meta_data for the server configuration and its Environment,etc



How to check Tracking Enabled or disabled

$_SERVER['HTTP_DNT']

Any Request : HTTP/1.1 GET 200 OK

DNT : Response


How to Get Query String from Server

$_SERVER['QUERY_STRING']


How to get Remote Ip of Client?

$_SERVER['REMOTE_ADDR']


How to get Complete Url

$_SERVER['REQUEST_URI']


How to get Current File Name

$_SERVER['PHP_SELF']

$_SERVER['SCRIPT_NAME']


How to Server Request Method Type

$_SERVER['REQUEST_METHOD']


How to get Server Protocol

$_SERVER['SERVER_PROTOCOL']


How to get Server Host

$_SERVER['HTTP_HOST']


How to get Root of project

$_SERVER['DOCUMENT_ROOT']


How to get Port No

$_SERVER['SERVER_PORT']


What is Activity Tracking in Server ?