phph get server protocol

Solutions on MaxInterview for phph get server protocol by the best coders in the world

showing results for - "phph get server protocol"
Sara
10 Jan 2019
1$protocol = stripos($_SERVER['SERVER_PROTOCOL'],'https') === 0 ? 'https://' : 'http://';
2