我是 PHP 新手。我正在尝试调用以下格式 URL 的 Web 服务(用 Java 编写):
http://geoserver.com/track?uid='user'&sdate='sdatetime'&edate='edate' 'etime'
它以以下格式返回 JSON 数据:
[{"lat":"1","lng":"2","time":"2013-06-23 14:00:42"},
{"lat":"3","lng":"4","time":"2013-06-23 14:10:10"},
{"lat":"5","lng":"6","time":"2013-06-23 14:21:00"}]
如何通过 PHP 调用此 URL?