i want to know that how to use
Java Script, or CGI, or PHP
to write a function that used to search the filename of a image inside web.

base on the image's filename search

Just like the function that for picture searching in Yahoo.
but just search inside the web!!

Any one can help me??!
i have no idea about that... >~<