Search inside my PHP files on WIn XP?

by 8 replies
12
I have hundreds of PHP files and I want to search inside them.

How do I do this?

I've searched Google high and low but none of the stuff that's taught actually works.
#programming #files #inside #php #search #win
  • Banned
    Use a search and replace (you don't HAVE to replace) facility like this . .

    RJL Software - Software - Utility - Simple Search-Replace

    It's free and possibly all you need?
    • [ 2 ] Thanks
  • The Windows file search can do this, just enter your search term inside the "Containing Text" field instead of the "Search for files or folders named" field.
    • [ 1 ] Thanks
    • [1] reply
    • No, it can't.
      Since XP, it will only search in file types it knows.
      • [1] reply
  • I second Agent Ransack - fast and free.
  • What text editor do you use? I know most can do a Find In Files. Definitely Notepad++ does.
  • Easy.


    Go to "Start"
    Click "Search"
    Click "Change Preferences"
    Click "With Indexing Service (for faster local searches)"
    Click "Change Indexing Service Settings (Advanced)"

    A window titled "Indexing Service" will appear. The following instructions pertain to this window.

    On the window's toolbar, click "Show/Hide Console Tree"

    In the left pane, right-click Indexing Service on Local Machine, and then click Properties.

    On the Generation tab, click to select the Index files with unknown extensions check box, and then click OK.

    Close the Indexing Service window and you're done.

    Now you can use the built in Windows XP search function to find anything in your PHP files, or any file for that matter.

    These instructions are based on Method 2 from Using the "A word or phrase in the file" search criterion may not work

Next Topics on Trending Feed