[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-12-2005, 07:17 AM   #1
SmokeyDP
Lieutenant Commander
 
Join Date: Jan 2003
Location: Middlesex, NJ
Posts: 541
Send a message via AIM to SmokeyDP Send a message via Yahoo to SmokeyDP
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.
SmokeyDP is offline   Reply With Quote
Old 04-12-2005, 07:25 AM   #2
gear02
Admiral
 
gear02's Avatar
 
Join Date: Apr 2000
Location: Seattle, WA
Posts: 7,223
Send a message via ICQ to gear02 Send a message via AIM to gear02 Send a message via Yahoo to gear02
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.
gear02 is offline   Reply With Quote
Old 04-12-2005, 07:29 AM   #3
SmokeyDP
Lieutenant Commander
 
Join Date: Jan 2003
Location: Middlesex, NJ
Posts: 541
Send a message via AIM to SmokeyDP Send a message via Yahoo to SmokeyDP
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.
SmokeyDP is offline   Reply With Quote
Old 04-12-2005, 08:47 AM   #4
navyones
Captain
 
navyones's Avatar
 
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.
navyones is offline   Reply With Quote
Old 04-12-2005, 08:49 AM   #5
SmokeyDP
Lieutenant Commander
 
Join Date: Jan 2003
Location: Middlesex, NJ
Posts: 541
Send a message via AIM to SmokeyDP Send a message via Yahoo to SmokeyDP
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.
SmokeyDP is offline   Reply With Quote
Old 04-12-2005, 08:53 AM   #6
navyones
Captain
 
navyones's Avatar
 
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.
navyones is offline   Reply With Quote
Old 04-12-2005, 09:46 AM   #7
eSDee
Old Skooler Numba 1
 
eSDee's Avatar
 
Join Date: Nov 2000
Location: Diego
Posts: 10,063
Send a message via AIM to eSDee
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
eSDee is offline   Reply With Quote
Old 04-12-2005, 09:49 AM   #8
SmokeyDP
Lieutenant Commander
 
Join Date: Jan 2003
Location: Middlesex, NJ
Posts: 541
Send a message via AIM to SmokeyDP Send a message via Yahoo to SmokeyDP
I just found out you can not search in .xml files either. There should be a setting somewhere to turn this on.
SmokeyDP is offline   Reply With Quote
Old 04-12-2005, 10:33 AM   #9
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
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!"
doolittle is offline   Reply With Quote
Old 04-12-2005, 11:17 AM   #10
Curious
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.
Curious is offline   Reply With Quote
Old 04-12-2005, 12:06 PM   #11
Markel
Chief of Naval Operations
 
Markel's Avatar
 
Join Date: Feb 2001
Posts: 11,733
XP search bug
__________________
stay low... keep moving...
Markel is offline   Reply With Quote
Old 04-12-2005, 12:37 PM   #12
SmokeyDP
Lieutenant Commander
 
Join Date: Jan 2003
Location: Middlesex, NJ
Posts: 541
Send a message via AIM to SmokeyDP Send a message via Yahoo to SmokeyDP
Quote:
Originally Posted by Markel
Thanks! Thats what I needed!
SmokeyDP is offline   Reply With Quote
Old 04-12-2005, 06:42 PM   #13
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
Quote:
Originally Posted by navyones
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.
Hey Navyones what classes are you taking?
doolittle is offline   Reply With Quote
Old 04-12-2005, 07:22 PM   #14
navyones
Captain
 
navyones's Avatar
 
Join Date: Aug 2002
Location: Pennsylvania
Posts: 1,811
Quote:
Originally Posted by doolittle
Hey Navyones what classes are you taking?

I am currently taking Network Infrastructure. My degree will be Network Technology.
navyones is offline   Reply With Quote
Old 04-12-2005, 07:29 PM   #15
seqiro
Commander
 
seqiro's Avatar
 
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
seqiro is offline   Reply With Quote
Old 04-12-2005, 11:18 PM   #16
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
Quote:
Originally Posted by navyones
I am currently taking Network Infrastructure. My degree will be Network Technology.
i took a bunch of microsoft classes and a hardware class. mcp and a+, had my own consulting buisness before i got hurt. now im trying to slowly build it back up again. mostly small buisness type stuff. ive been thinking about taking classes agian to get a BA in IT. im hoping to get a nice cushy management job in a few more years, thats the plan anyways.
doolittle is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 03:27 PM.