Skip to content

vincenthib/google_img

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Image PHP API

*** DESCRIPTION ***

A simple PHP script that search for an image source from Google Image API.

*** USAGE ***

1: Include PHP file that contains the function

include_once 'inc/google_img.php';

2: Call the function to retrieve the image source and use it in a html img tag

<img src="<?= getGoogleImg('php logo') ?>" />

*** EXAMPLE ***

Look at demo.php to see an usage example.

You can call demo.php?search=... to use it.

About

Google Image PHP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%