开发者

Php script to search for images and return the url

开发者 https://www.devze.com 2023-02-16 02:26 出处:网络
I have made a crazy (?) thought right now... Is t开发者_StackOverflowhere any script written in PHP that gets a given keyword and returns a url of a relative image? (from google, yahoo, etc)

I have made a crazy (?) thought right now...

Is t开发者_StackOverflowhere any script written in PHP that gets a given keyword and returns a url of a relative image? (from google, yahoo, etc)

If so, may I have an example? And if not, hwo can this be made?

Thanks!!


You can use the Flicker API. phpFlickr seems to be an existing PHP library.


You can try the PHP's CURL functions to do that, just google it and read the PHP manual.


Try this one Demo : http://www.scriptbaba.com/demos/get_images/

http://www.scriptbaba.com/details-php-image-search-api-25.html

0

精彩评论

暂无评论...
验证码 换一张
取 消