Hello all,
of late I have been using this php snippet to drive the email address of a link
info@<?php echo preg_replace('/^www./','',$_SERVER["HTTP_HOST"]); ?>
But now Im finding that if its used in a https (secure environment) I get an security messgae saying: The information you have entered on this page will be sent over an insecure connection and could be read by a third party. Are you sure you want to send this information?
what do I need to change the code to reflect the https variable so it does not throw the error, especially sibce it in a secure https location.
would there be a differenc if it were $_SERVER["HTTPS_HOST"] ?
TIA