PHP code example of zsxsoft / php-useragent
1. Go to this page and download the library: Download zsxsoft/php-useragent library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zsxsoft / php-useragent example snippets
/**
* Test Useragent
* @package php-useragent
* @author zsx <[email protected]>
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
ini_set('display_errors', 'On');
error_reporting(E_ALL);