我正在使用命令:
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}工作。