I have to identify if the system that is sending us a request is HTTPS.
if ($isHTTPS){
#faça alguma coisa
}
else{
#faça outracoisa
}
I have to identify if the system that is sending us a request is HTTPS.
if ($isHTTPS){
#faça alguma coisa
}
else{
#faça outracoisa
}
As follows:
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') { //HTTPS }