Page 1 of 1

Firefox PHP Search

Posted: Sun Jul 09, 2006 8:27 am
by jayshields
Someone must have made this.

All I want is for the Firefox search engine thing in the top right of the browser to have PHP available. So I can enter a function name and hit enter and I'll be on that page. Must be very simple to make, but I can't find one on the web.

Anyone got one/know how to make one?

Thanks.

Posted: Sun Jul 09, 2006 8:52 am
by Roja

Posted: Sun Jul 09, 2006 9:25 am
by Weirdan
or you can use quicksearch bookmark

Posted: Sun Jul 09, 2006 9:35 am
by jayshields
Great. Thanks alot :)

Posted: Sun Jul 09, 2006 11:13 am
by Oren
If you'd like, you can add a bookmark to the Quick Searches like this:

1. Add a new bookmark to the Quick Searches folder.
2. In 'Location:' type: http://us2.php.net/search.php?show=quickref&pattern=%s
3. In 'Keyword:' type: f

Now note that:
1. You can change the keyword to whatever you want it to be.
2. I use http://us2.php.net because it's much faster for me than http://il.php.net, but you can change that to whatever you want.

If you followed the 3 steps without changing anything then you can now type in your location bar something like: f date and then click Enter and this should take you to a page with the description of the date() function.

P.S Isn't Firefox great? :D

Posted: Sun Jul 09, 2006 1:13 pm
by AKA Panama Jack
For those of you using Opera you can easily add this in Opera 9.
  • 1. Select Tools on the menu bar.

    2. Then select Preferences on the dropdown.

    3. Click the Search tab and then click on Add.

    4. In the Name field enter PHP Function.

    5. In the Keyword field enter p.

    6. In the Address field enter http://www.php.net/search.php?show=quickref&pattern=%s.

    7. Click on OK to save.
You have just added a quick search for any PHP function. :) You can click on the drop down for the search box and select PHP Function as your search and type/paste what you want to search for and go.

If you want a faster method just click in the address bar and enter p function instead of a URL address. Entering p flush will bring up the flush function page.

The other great thing is you can highlight a word on any web page, right click on it to bring up a menu list, select Search with and then select PHP Function. No need to type anything. :D

Posted: Mon Jul 10, 2006 7:04 am
by jayshields
Well, that search add-on Roja linked me to doesn't work properly - it's quite weird.

Sometimes when I search for something, it redirects me to http://uk2.php.net/whatever, and says it cant find /whatever on the server. When I went to http://uk2.php.net to see what was going on, I found some logo printing company?!?

Seems it's working OK now though, it's just redirecting me to http://php.net/whatever like it should...

Posted: Mon Jul 10, 2006 7:55 am
by Roja
jayshields wrote:Well, that search add-on Roja linked me to doesn't work properly - it's quite weird.
Very odd! I've used it successfully for quite a while now. Not sure what the cause is.

Posted: Mon Jul 10, 2006 7:58 am
by JayBird
Yep, i have just installed the one Roja suggested and it worked perfectly.