3 ms·Should use $_SERVER["SERVER_PORT"] to detect if it's SSL or not rather than blindly using http:// http://.by jolan 16y agoShould use $_SERVER["SERVER_PORT"] to detect if it's SSL or not rather than blindly using http:// http://.