views:

185

answers:

6

Hello all,

There are a lot of web sites for for PHP developers to copy scripts from. I wonder if there is a "universal" search engine to search examples from all of these sites? Something like a Google custom search engine which searches PHP examples from good web sites. My wife needs a tool like that and I guess this question should be sent to the PHP gurus here. Thank you in advance.

BTW, There is a useful search engine for Java examples here: http://www.google.com/coop/cse?cx=004472050566847039233:9ld3aazskua

JB

+3  A: 

What about http://www.google.com/codesearch?

Stefan Gehrig
Hmm that search engine doesn't give me the results I need. Thank you anyway.
Maybe if you posted specifically what you were looking for here, someone could give a better answer?
Josh
+1  A: 

you can try this one http://www.koders.com/

bumperbox
Similar to http://www.google.com/codesearch, not quite what I need
in that case, maybe just using php.net, the docs have heaps of user submitted examples
bumperbox
A: 

There is also http://www.krugle.com/

dyve
A: 

On the PHPClasses website you can find a class for just about everything, and it has the search capability.

Milan Babuškov
+1  A: 

For Google, start you search term with filetype:phps <?php to search for source files.

Php search for foo.

Dykam
A: 

I have always found that php.net have great examples. and if there isn't something in the main article the comments will usually have what your looking for. You can view the massive list of functions here: http://www.php.net/quickref.php

for people just starting to learn php then W3Schools is an excellent recourse. I also used TiZag greatly when I learnt php (just do a google search for W3Schools or TiZag)