将图片网址保存在Google地方照片回复中

时间:2013-12-05 05:21:13

标签: php mysql drupal google-api

我正在使用命令:

drupal_http_request('https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference='.$term['photo_reference'].'&sensor=true&key='.$GOOGLEPLACESAPIKEY);

将浏览器上的图像显示为打开的图像,但我想将图像的网址存储在数据库中,有些人可以告诉我该怎么做。我试过file_get_content()但它也没有#39}工作。

0 个答案:

没有答案