【发布时间】:2016-04-06 17:21:18
【问题描述】:
我正在建立一个 PHP&MySQL 网站。 我成功地在我的网站客户端(使用 JavaScript)上使用了 Google Places API。我将 formatted_address(由用户通过 Google Places API 选择)传递给 PHP 脚本。
问题是,我不知道如何在服务器端验证输入是否真的是 Google Places API 结果,或者在提交之前是否已被篡改。
我在网上搜索了如何通过 PHP 使用 Google Places API 的基本教程,但无济于事。
有什么想法吗?
谢谢。
【问题讨论】:
标签: php google-places-api