sc_site_ssl

This macro is used to verify if the used site is a safe site. (https protocol)


Ex. 1: Using an affirmative.
if (sc_site_ssl)
{
echo "ok - Safe site";
}



Ex. 2: Using a negative.
if (!sc_site_ssl)
{
echo "Warning - Unsafe site";
}



Ex. 3: Redirecting if the site isn't safe.
if (!sc_site_ssl)
{
sc_redir("http://www.erro_page.com/") ;
}

Note: This macro works only on the web server llS.