get_protocol() get_protocol() : string Finds out the protocol the user is connecting to the site with. Returns string — "http://" or "https://".
get_ip() get_ip() : string Finds out the IP address of the client. Returns string — Client IP address.