note 118628 added to function.get-browser

From: Date: Tue, 12 Jan 2016 00:59:00 +0000
Subject: note 118628 added to function.get-browser
Groups: php.notes 
Request: Send a blank email to php-notes+get-204643@lists.php.net to get a copy of this message
BE CAREFUL WITH THIS FUNCTION!! This function uses a lot of CPU and RAM on the whole server resources. Perhaps if you use this function a few times then no problem, but NOT if you use at any page request, or once per session. Also, this function doesn't work correctly and may returns wrong values, wildcards or empty, so it's not very useful for web statistics. The best way is to use preg_match for detect browser/platform. ---- Server IP: 72.52.91.14 Probable Submitter: 213.181.66.28 ---- Manual Page -- http://php.net/manual/en/function.get-browser.php Edit -- https://master.php.net/note/edit/118628 Del: integrated -- https://master.php.net/note/delete/118628/integrated Del: useless -- https://master.php.net/note/delete/118628/useless Del: bad code -- https://master.php.net/note/delete/118628/bad+code Del: spam -- https://master.php.net/note/delete/118628/spam Del: non-english -- https://master.php.net/note/delete/118628/non-english Del: in docs -- https://master.php.net/note/delete/118628/in+docs Del: other reasons-- https://master.php.net/note/delete/118628 Reject -- https://master.php.net/note/reject/118628 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204643) next »