Page 1 of 2
search file source code?
Posted: Tue Dec 06, 2005 11:19 pm
by xudzh
Hi,
I'm wondering if there's a free program that can search for source code with files, for example if I want to find "mysql_connect" in my script.
the window's build-in search would only search txt or doc files, and treats my phps as binary.
Let me know if anyone has good suggestions.
Thanks
xudzh
Posted: Tue Dec 06, 2005 11:34 pm
by John Cartwright
Most editors have build in search capabilities of this, to be able to search through a directory for any instances..
From my knowledge:
Dreamweaver 6+
PHP Designer 2005
Zend Studio
Crimson Editor
Posted: Wed Dec 07, 2005 3:29 am
by Grim...
Posted: Wed Dec 07, 2005 4:13 am
by foobar
M$ Notepad.
Also, windoze search should work. Just search for *.php as the filename and mysql_connect as the contents.
Posted: Wed Dec 07, 2005 7:18 am
by Grim...
foobar wrote:M$ Notepad.
Notepad can't search in files unless you open each one.
Posted: Wed Dec 07, 2005 7:20 am
by foobar
Grim... wrote:foobar wrote:M$ Notepad.
Notepad can't search in files unless you open each one.
He never said that that wasn't what he wanted.
Posted: Wed Dec 07, 2005 7:37 am
by Grim...
Exactly: it is what he wanted.
<edit>Surely there's no real need to quote me if my post is the one before yours?</edit>
Posted: Wed Dec 07, 2005 7:42 am
by foobar
Grim... wrote:<edit>Surely there's no real need to quote me if my post is the one before yours?</edit>
Why not?
OK I'll shut up now...
Posted: Wed Dec 07, 2005 7:51 am
by Grim...
That's not so bad, because at least you took the trouble to remove unrelevent paragraphs from the quote.
I have a thing about quotes recently

Re: search file source code?
Posted: Wed Dec 07, 2005 10:22 am
by Weirdan
xudzh wrote:
I'm wondering if there's a free program that can search for source code with files, for example if I want to find "mysql_connect" in my script.
For large projects:
http://phpxref.sourceforge.net/
Posted: Wed Dec 07, 2005 8:48 pm
by xudzh
thanks guys
(wow this forum is active and helpful, on the other one I post no one replied for like 2 days)
I'm going to look at php designer and crimson, since they're free

Posted: Wed Dec 07, 2005 11:22 pm
by Luke
xudzh wrote:thanks guys
(wow this forum is active and helpful, on the other one I post no one replied for like 2 days)
I'm going to look at php designer and crimson, since they're free

This place kicks the smurfs of all other forums by far. I love it here.
Posted: Thu Dec 08, 2005 3:25 am
by Grim...
Textpad is free too, and very good.
Posted: Thu Dec 08, 2005 6:38 am
by Jenk
Grim... wrote:unrelevent
*cough* irrelevant *cough*
Posted: Thu Dec 08, 2005 6:44 am
by Bill H
Crimson Editor is outstanding, and it has a "find in files" feature.