note 125480 added to tutorial.useful
| From: | MdMoniruzzamanNatore@php.net | Date: | Sun, 01 Nov 2020 13:31:48 +0000 |
| Subject: | note 125480 added to tutorial.useful | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215680@lists.php.net to get a copy of this message | ||
<?php
echo $_SERVER['HTTP_USER_AGENT'];
?>
Output of Google Chrome:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/86.0.4240.111 Safari/537.36
Output of Microsoft Edge:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362
The USER AGENT string is a text that the browsers themselves send to the webserver to identify
themselves, so that websites can send different content based on the browser or based on browser
compatibility.
Mozilla is a browser rendering engine (the one at the core of Firefox) and the fact that Chrome and
IE contain the string Mozilla/5.0 identifies them as being compatible with that rendering engine.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.174 (proxied: 37.111.205.135)
----
Manual Page -- http://php.net/manual/en/tutorial.useful.php
Edit -- https://master.php.net/note/edit/125480
Del: integrated -- https://master.php.net/note/delete/125480/integrated
Del: useless -- https://master.php.net/note/delete/125480/useless
Del: bad code -- https://master.php.net/note/delete/125480/bad+code
Del: spam -- https://master.php.net/note/delete/125480/spam
Del: non-english -- https://master.php.net/note/delete/125480/non-english
Del: in docs -- https://master.php.net/note/delete/125480/in+docs
Del: other reasons-- https://master.php.net/note/delete/125480
Reject -- https://master.php.net/note/reject/125480
Search -- https://master.php.net/manage/user-notes.php