PHP code example of insign / get-os
1. Go to this page and download the library: Download insign/get-os 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/ */
insign / get-os example snippets
// Unknown = 1
// Windows = 2
// Linux = 3
// Mac = 4
echo getOS::ofServer(); // Return a integer