ドコモ携帯からの位置情報取得

▼送信側

--------------------------------------------------------------------------------------------------

<html>

<head>

<title>Index Page</title>

</head>

<body>

<form method="get" action="./gps.pl" lcs>

    <input type="submit" name="test" value="検索">

</form>

</body>

</html>

--------------------------------------------------------------------------------------------------

▼受信側
--------------------------------------------------------------------------------------------------

#!/usr/bin/perl

use CGI;

my $query = CGI->new;

 

print $query->header(-charset=>"utf-8");

print $query->start_html;

my @params = $query->param();

foreach my $param (@params) {

    print $param, "\t", $query->param($param), "\n";

}

print $query->end_html;

exit;

--------------------------------------------------------------------------------------------------

 

▼参考資料

http://www.nttdocomo.co.jp/service/imode/make/content/gps/

 

写真素材のピクスタ