Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (strcasecmp('HTTP', $scheme) == 0 && $port != 80) {
- $url .= ':'.$port;
- }
- if (strcasecmp('HTTPS', $scheme) == 0 && $port != 443) {
- $url .= ':'.$port;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement