1

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

Ira Baxter
  • 93,541
  • 22
  • 172
  • 341
  • PHP doc has lots of user provided code. Sadly though Google code search doesn't let you search just withing a site like regular web searches. – gradbot Jul 11 '09 at 15:03
  • Why don't you build your own Google Custom Search engine from the web site you mentioned? Just like the Java example. – Ionuț G. Stan Aug 01 '09 at 12:57

6 Answers6

3

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

Stefan Gehrig
  • 82,642
  • 24
  • 155
  • 189
  • Hmm that search engine doesn't give me the results I need. Thank you anyway. –  Jul 11 '09 at 10:31
  • Maybe if you posted specifically what you were looking for here, someone could give a better answer? – Josh Aug 01 '09 at 13:34
1

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

bumperbox
  • 10,166
  • 6
  • 43
  • 66
1

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

Php search for foo.

Dykam
  • 10,190
  • 4
  • 27
  • 32
0

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

dyve
  • 5,893
  • 2
  • 30
  • 44
0

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

Milan Babuškov
  • 59,775
  • 49
  • 126
  • 179
0

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)