Tag: browser
Secure Connection Failed
SSL_ERROR_UNSUPPORTED_VERSION
Secure Connection Failed
"SSL_ERROR_UNSUPPORTED_VERSION" typically occurs in the internet browser when you're trying to access a website that uses an outdated or unsupported SSL/TLS protocol...
Detect Browser Language in PHP
You can detect browser language using PHP global variable $_SERVER, exactly $_SERVER
EXAMPLES:
1.
<?php
$BLang= Locale::acceptFromHttp($_SERVER);
echo $BLang; // Return: en
?>
2.
<?php
$BLang= locale_accept_from_http($_SERVER);
echo $BLang; // Return: en
?>
3. Using substr...