|
|
#1 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
Microsoft Windows XP Search
Alright, I am pretty good with computers, but this one I can not figure out. I am trying to use the search feature built into XP. I am trying to pull up all .php files that have a variable named SCRIPT_NAME in them. I have *.php for the file name and SCRIPT_NAME for the "Word or phrase in the file." It comes up with nothing and I know its in several files....
It seems to be only pulling up where it shows up in .txt files, not .php files where are just basically text... Can anyone help? ![]() Last edited by SmokeyDP : 04-12-2005 at 07:20 AM. |
|
|
|
|
|
#2 |
|
Admiral
![]() ![]() ![]() ![]() ![]() |
I really can't help, but I know that the search built into explorer sucks donkey...
Google desktop isn't much better since it just archives specific files. Your best bet is to use a IDE and use the search function in it. It would be better since it's optimized for code. I think Netbeans is still free, open source. Try using it, creating a project, importing your files, and running a search. |
|
|
|
|
|
#3 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
I wrote something that will go through and download stuff and rename the variables, but I just thought it was dumb that this would not work.
|
|
|
|
|
|
#4 |
|
Captain
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2002
Location: Pennsylvania
Posts: 1,811
|
Have you installed PHP on your computer? If not, PHP files would show up as TXT only.
|
|
|
|
|
|
#5 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
I can edit the PHP files in notepad which is all I need. I just wanted to be able to search through a directory of them to see which ones had a certain variable in it.
|
|
|
|
|
|
#6 |
|
Captain
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2002
Location: Pennsylvania
Posts: 1,811
|
I will pose your question to my class tonight. I tried to search for "PHP" files also, and I got the same result you did.
If you have PHP installed though, most of your PHP files should be held in htdocs. |
|
|
|
|
|
#7 |
|
Old Skooler Numba 1
![]() ![]() |
sequiro, where are you?!?
![]() /me puts up sequiro signal in the sky
__________________
~~~~~~~~~~~~ 3 days ~ Willie Nelson 3 days I dread to see arrive 3 days I hate to be alive 3 days filled with tears and sorrow yesterday today and tomorrow |
|
|
|
|
|
#8 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
I just found out you can not search in .xml files either. There should be a setting somewhere to turn this on.
![]() |
|
|
|
|
|
#9 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: San Diego CA
Posts: 910
|
if you use the advanced search feature you can search for files by extention,
the standard search skips alot of extentions so its faster for the average user. advanced search also works well for office products. also if it pulls up the txt files with the same name you can choose to open the folder containing the file(by right clicking on the file) and that should put you real close or right on the money.
__________________
Bill Gates "We'll never be as cool as them. Every conference you go to, there they are dressed in black, and no one is cooler!" |
|
|
|
|
|
#10 |
|
Lieutenant Junior Grade
![]() Join Date: Jan 2004
Posts: 74
|
It's not a hidden file, is it? I tried searching for unrelated file type and I couldn't find it, but I knew they were there. I found out that I had not selected for looking in hidden files and folders.
|
|
|
|
|
|
#11 |
|
Chief of Naval Operations
![]() ![]() Join Date: Feb 2001
Posts: 11,733
|
__________________
stay low... keep moving... |
|
|
|
|
|
#12 | |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
Quote:
|
|
|
|
|
|
|
#13 | |
|
Lieutenant Commander
![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: San Diego CA
Posts: 910
|
Quote:
|
|
|
|
|
|
|
#14 | |
|
Captain
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2002
Location: Pennsylvania
Posts: 1,811
|
Quote:
I am currently taking Network Infrastructure. My degree will be Network Technology. |
|
|
|
|
|
|
#15 |
|
Commander
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Western MA
Posts: 1,183
|
I think if you type ciadv.msc at a Start -> Run prompt and then
right-click somewhere in the white space and pull up "Properties", you can check "Index files with unknown extensions" which might help. But I'm not on a Windows machine right now so I can't test it until morning. ![]()
__________________
Paul Beasi |
|
|
|
|
|
#16 | |
|
Lieutenant Commander
![]() ![]() ![]() ![]() Join Date: Mar 2005
Location: San Diego CA
Posts: 910
|
Quote:
![]() |
|
|
|
|