Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Search inside files skips php files?

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 07-01-2007   #1 (permalink)
Hare
Guest


 

Search inside files skips php files?

I have thousands of html, javascript and php files and I'm looking for files
that contain a specific string. If I search the folder containing the files I
can see all the .html and .js files but the search doesn't show any of the
..php files even though there are plenty of files with the string inside.

How can I force the search to look inside php files. I've already added .php
to the indexing options in the control panel but still I can't search php
files. I just typed the string to the search box, clicked search and then
clicked on the advanced search to enable searching inside files and clicked
to look files that aren't indexed. Doesn't go through .php files. I also set
the search to index the folder but still I can't search .php files.

Any ideas? This is driving me crazy since the new search was one of the key
features why I got Vista Business in the first place.

Thanks!

My System SpecsSystem Spec
Old 07-02-2007   #2 (permalink)
Dave Wood [MS]
Guest


 

Re: Search inside files skips php files?

I think you need to add .php to the list of file extensions indexed in
Indexing Options Control Panel -> Advanced -> File Types -> Add new
extension. AFter that you need to rebuild the index to pick up the changes.

"Hare" <Hare@discussions.microsoft.com> wrote in message
news:1397F1F9-70F6-41AE-8A36-F96F21EBDBB6@microsoft.com...
>I have thousands of html, javascript and php files and I'm looking for
>files
> that contain a specific string. If I search the folder containing the
> files I
> can see all the .html and .js files but the search doesn't show any of the
> .php files even though there are plenty of files with the string inside.
>
> How can I force the search to look inside php files. I've already added
> .php
> to the indexing options in the control panel but still I can't search php
> files. I just typed the string to the search box, clicked search and then
> clicked on the advanced search to enable searching inside files and
> clicked
> to look files that aren't indexed. Doesn't go through .php files. I also
> set
> the search to index the folder but still I can't search .php files.
>
> Any ideas? This is driving me crazy since the new search was one of the
> key
> features why I got Vista Business in the first place.
>
> Thanks!


My System SpecsSystem Spec
Old 07-04-2007   #3 (permalink)
Brink's Avatar
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Search inside files skips php files?

Hi Hare,

Here is a link that explains how to do what Dave Wood suggested.

http://www.vistax64.com/tutorials/69581-indexing-options.html?ltr=I

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 07-13-2008   #4 (permalink)
Newbie


Join Date: Jul 2008
Vista Home Premium 32bit
 
Rep Power: 2
therompalace is on a distinguished road
  therompalace is offline

Re: Search inside files skips php files?

I'm having trouble just searching inside HTML files. I know the string is in the file but when I clikc on search it doesn't show anything. I checked the indexing options and html is added. However, this shouldn't matter because I click on "Include non-indexed, hidden, and system files..." checkbox so it should search it regardless of whether it is added to indexing options or not.

After that search I click on the "search in file contents" and it doesn't show anything. So I'm just wondering, did I miss some setting that I can't search inside HTML files?

thanks
My System SpecsSystem Spec
Old 07-13-2008   #5 (permalink)
LeeTutor's Avatar
Vista Expert - MVP


Join Date: Jul 2008
Vista Ultimate 32-bit
Coconut Creek, FL
 
Rep Power: 20
LeeTutor is a splendid one to beholdLeeTutor is a splendid one to beholdLeeTutor is a splendid one to beholdLeeTutor is a splendid one to beholdLeeTutor is a splendid one to beholdLeeTutor is a splendid one to beholdLeeTutor is a splendid one to behold
  LeeTutor is offline

Re: Search inside files skips php files?

Hare, I am unclear about exactly what you did in Indexing Options in Control Panel, but this page purports to have the solution to your exact problem:

Search for Text Inside of PHP Files with Vista · JoshStauffer.com
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Inside Files - How? HMT Vista General 13 08-21-2008 06:01 PM
Can I modify some XML files inside a DLL? James .NET General 1 03-24-2008 10:55 AM
change permission on all files inside a folder or hundreds of file inside a folder Anthony B Vista security 2 12-28-2007 04:26 AM
How to search for content inside files? Joe Grover Vista General 6 08-14-2007 04:42 PM
Search for files and folders doesn't find system files Will Schuitman Vista General 1 08-31-2006 07:22 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008