Tag - 경도

現在の場所を見つける(PHP)

場所はジオロケーション関数を介して取得され、関連またはサポートされていないブラウザの場合、Naverが提供するAPIを介してIPIで取得されます。 使用する前に、NaverのAPIキーを以下のアドレスに入手してください(https://www.ncloud.com/product/applicationservice/geolocation) <? function makeignature($ secretkey、$ method、$ basestring、$ timestamp、$ accesskey) { $ space = '; $ newline = "\ n"; $ hmac = $ method。$ space。$ Basestring。 $ Signaute = base64_encode(hash_hmac( 'sha256'、$ hmac、$ secretkey、true)); $ signauteを返します。 } if($ _ post ['order'] == 'geolocation') { $hostNameUrl = 'https://geolocation.apigw.ntruss.com'; $requestUrl= '/geolocation/v2/geoLocation'; $accessKey...