make yahoo and google search query string


/ Published in: PHP
Save to your folder(s)

from openbusiness.cc


Copy this code and paste it in your HTML
  1. function yahoo_url($license, $version, $jurisdiction){
  2. return "http://search.yahoo.com/search?p=link%3Ahttp%3A%2F%2Fcreativecommons.org%2Flicenses%2F".$license."%2F".$version."%2F".$jurisdiction."&prssweb=Search&ei=UTF-8&fr=FP-tab-web-t&fl=0&x=wrt";
  3. }
  4.  
  5. function google_url($license, $version, $jurisdiction){
  6. return "http://www.google.com/search?&q=link%3Ahttp%3A%2F%2Fcreativecommons.org%2Flicenses%2F".$license."%2F".$version."%2F".$jurisdiction;
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.