Posted By

mocha0range on 07/22/09


Tagged

google wiki wikipedia lucky im feeling


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mocha0range
Unreal


I'm feeling Wikipedia


 / Published in: PHP
 

returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.

  1. function wikiLink($name){
  2. return "http://www.google.com/search?hl=en&q=site:wikipedia.org%20".$name."&btnI=I'm+Feeling+Lucky&aq=f&oq=&aqi=";
  3. }

Report this snippet  

You need to login to post a comment.