Firefox PHP Search

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Firefox PHP Search

Post 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.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

or you can use quicksearch bookmark
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Great. Thanks alot :)
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post 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
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post 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
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post 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...
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post 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.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yep, i have just installed the one Roja suggested and it worked perfectly.
Post Reply