note 113524 deleted from function.get-browser by cmb

From: Date: Sun, 23 Feb 2020 08:54:49 +0000
Subject: note 113524 deleted from function.get-browser by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214190@lists.php.net to get a copy of this message
Note Submitter: wind_born at yahoo dot com ---- Your system may have problems parsing browscap.ini if the value fields are not quoted (see bishop's note). This is often true even for the PHP specific version of the published browscap.ini. The sed command below adds quotations to the values: sed '/^[a-zA-Z0-9].*=[a-zA-Z0-9]/s/=\(.*\)/="\1"/' $inFile > $fixedFile If you're using a script to fetch the latest browscap.ini, consider adding this operation to the script.

« previous php.notes (#214190) next »