Answers for "phph get server protocol"

PHP
0

phph get server protocol

$protocol = stripos($_SERVER['SERVER_PROTOCOL'],'https') === 0 ? 'https://' : 'http://';
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language