IT Management Portal with Technical Articles
Home
Sunday, 05 September 2010
Login Form
Username

Password

Remember me
Password Reminder
No account yet? Create one
Syndicate
Searching PHP file contents in Windows PDF Print E-mail
User Rating: / 2
PoorBest 
Friday, 14 September 2007
Ever tried to search for words within PHP files? Can be something you need to do when you have changed a variable name or a link.

This one was easy - once we knew how to fix it. Seems like the Microsoft full-text search on files and folders ignores files with the ending PHP.

Simply create a .reg file (any filename with the extension "reg" - so it's called filename.reg) and insert the following text into it:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.php\PersistentHandler]
@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”

Then, double-click the file. Confirm all messages - and voila, when you search "files and folders", you'll be able to search for words within PHP files too! 

Polls
Are you a...
  
The dominating OS on your network is...
  
The last virus outbreak on your network was within the...
  
Who's Online
We have 8 guests online
 

Mambo is Free Software released under the GNU/GPL License.
Design by Mamboteam.com | Powered by Mambobanner.de