Easy PHP Search in Firefox

Niall has created a quick Opensearch file to add the PHP Function search to the search bar of Firefox 2 And IE7. If anyone is interested it’s available here.

For those that don’t know, this feature has existing in KDE in multiple forms for some time. For example, pressing ALT-F2 opens the Run Command dialog and typing, for example:

will bring up PHP.net’s own search page. The same goes for the location bar in Konqueror.

By the way, other nice short cuts in the Run Command dialog include:

  • gg: <keywords> for a quick Google search;
  • wp: <keywords> for a quick Wikipedia search;
  • dict: <keyword> for a quick dictionary look-up;
  • man: <keyword> for a man page look-up;
  • info: <keyword> for an info page look-up;
  • rfc: <number> to be brought to the relevant RFC page;

Of course, entering a command will execute it and just entering a URL will open it in Konqueror.

3 thoughts on “Easy PHP Search in Firefox”

  1. Firefox can do something similar by assigning keywords to a bookmark and having %s in the URL. If the URL is “http://www.example.com/foo?blah=%s” then “keyword x y z” becomes “http://www.example.com/foo?blah=x%20y%20z”. Those are called quick searches. You can also create them by right clicking on a search box and selecting ‘Add a keyword for this search’

    Here are some of my quick searches:
    URL: http://www.xe.com/ucc/convert.cgi?From=USD&To=EUR&Amount=%s
    keyword: $
    Entering “$ 10” into the address bar (not the space) converts from US dollars to euro

    URL: http://en.wikipedia.org/wiki/%s
    keyword: w
    Entering “w Ireland” brings you to the wikipedia article on Ireland.

    URL: http://ie.php.net/%s
    keyword: php
    Shows the PHP documention for that function.

  2. Este Programa es muy util si deseas colocar una Web Personal Usando tu Propia IP Publica que te suministra tu compañia proveedora de Internet:

    1) Corre el programa
    2) Verifica tu IP Publica.
    3) Abre tu navegador y coloca ese numero alli en la direccion
    y debe mostrar el contenido de Easy PHP

Comments are closed.