Skip to content
Sign upLog in
← Back to Community

http => https

Profile icon
mar28t
function normalizeUrl($url) { $urls = strpos($url, 'http://'); if ($urls === false) { $url = 'https://' . $url; } else { $trans = array("p" => "ps"); $url = strtr($url, $trans); } return $url; }
Voters
Profile icon
mar28t