Finding the current location (PHP)
The location is obtained through the Geolocation function, and if it is a browser that is not related or supported, the location is obtained with the IPI through the API provided by Naver. Before use, get Naver's API key to the address below (https://www.ncloud.com/product/applicationService/geolocation) <? Function Makesignature ($ Secretkey, $ Method, $ Basestring, $ Timestamp, $ AccessKey) { $ space = '; $ newline = "\ n"; $ hmac = $ method. $ space. $ baseString. $ signaute = base64_encode (hash_hmac ('SHA256', $ HMAC, $ Secretkey, True)); return $ signaute; } if ($ _ POST ['ORDER'] == 'geolocation') { $hostNameUrl = 'https://geolocation.apigw.ntruss.com'; $requestUrl= '/geolocation/v2/geoLocation'; $accessKey...