Why can't I find contents in eg. .php files?

If I press "Apple+F" in Finder to bring up the search dialog, and try to search files where "Name contains .php" and "Contents whatever", Finder show me the .php files in the folder when specifying the first criteria, but as soon as I start typing a text to search for in "Contents" all the .php files disappear again even though the search text is found in some of the .php files.
I tried creating a simple text file and copied it to test.php, test.css, test.html, test.xml and test.whatever. Search for contents works fine for the files with extension .html, .xml and .whatever, but for .css and .php it doesn't work.
Can somebody please explain to me why Finder behaves different with different extensions, and if there is a way I can make it search for contents in .php files?
Regards,
Christian

The content part of the Spotlight data base depends on there being mdimport plug-ins for that type of content. If there is no mdimporter then the content is not indexed, and there isn't one for either php or css files. See the link in this thread:
http://discussions.apple.com/message.jspa?messageID=5571301#5571301
If the hacking business doesn't appeal to you the only other work around I can think of is to save a copy of the php and css files with a .txt extension, which is content indexed.
Francine
Francine
Schwieder

Similar Messages

  • Why can't I find "content aware" in Photoshop Elements 12?

    I am trying to remove a tower from a photo and do not have "content aware" on my drop down menu.

    Using the spot healing brush in PSE12 does not leave a very professional appearance. Here is the photo I working with, as you can see, the tower is really close to the roof line and that is causing problems. I also tried to remove the electrical access box to the right side of the house and it left a spot that was again, not the professional appearance I am trying to achieve.

  • Why can I see the contents of a pages file in the thumbnail but it is blank when I open it? I am using a MacBook running MacOSX 10.7.3 and Pages 4.1 (09)

    My daughter has a MacBook with locked software provided by her school. All week she has been working on her homework in Pages but today when she goes to open the files they are all blank, although the thumbnails show the content and the bottom of the screen shows the number of
    Ages and words. We justcan't see them. Can anyone help her please?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Why can't I find my "sent" emails sub-file on screen. Opens only to "inbox" now. Was this changed in V31?

    This problem shown on previous page, but none of the (7) "solutions."
    Why do you "fix" areas that worked so well?

    I have no idea what you are talking about in most of your post.
    Maybe you are missing the folder pane showing your individual folders.
    Do you have a Menu Bar with File-Edit-View etc?
    If not press the alt key.
    From the menu bar select View-Layout-Folder Pane and turn it back on.

  • I have upgrade ios 6 to ios7 on my iphone 5.  I do NOT like it.  I want to come back to the previosu version.  why is it so complicated.  Why can I not find the instruction strait from apple? This is the worst possible upgrade ever.

    I have upgrade ios 6 to ios7 on my iphone 5.  I do NOT like it at all.   I want to come back to the previous version.  why is it so complicated? Why can I not find the instruction strait from apple? This is the worst possible upgrade ever.  It make me think of when ericsson got sold to Sony....drastic PC change.
    I would like to have simple instruction on how to downgrade.
    It feel like a change that I did not ask for , ok I push the upgrade buttom, but really this is the worst update aver!
    HELP!

    iPhone User Guide (For iOS 7 Software)Sep 20, 2013 - 23 MB

  • Macbook pro keeps saying connection timeout, and it used to connect to the internet fine. what's up, why can't it find and automatically connect to the internet anymore???

    Macbook Pro keeps saying connection timeout and it used to connect to the internet fine. What's up, why can't it find and automatically connect to the internet anymore???

    Like this: https://discussions.apple.com/thread/2775868?tstart=0  ?

  • Why can't I find certain Pantone plus colors in Illustrator CS6 color books?

    Why can't I find certain Pantone plus colors in Illustrator CS6 color books? For example I want to use PMS 2296C, but it is not coming up in the color swatch book in Illustrator.

    Thanks!
    I actually just came across the same thing in the meantime.
    And it worked!
    If you bought the physical Pantone books, there is a registration/serial number on the back. You can go to Pantone and register it (https://www.pantone.com/pages/MYP_myPantone/mypProductRegistration.aspx)
    Then you're able to download the Pantone manager.
    There are infact 336 new colors added to the Pantone Plus series. And this is where you need to get them. Once you have them, in Pantone color manager, you go to: File/Export/Adobe Illustrator/sRB. Then restart Illustrator.
    Once you go back in, the new 336 colors are available!

  • Why can't I find the Illustrator CC 2014 toolbar on my screen on Windows 7?

    Why can't I find the Illustrator CC 2014 toolbar on my screen on Windows 7? The screen resolution is 1280 x 1024.

    Hi Chris,
    Can you please put a snapshot of the screen so that we can know more about the issue ?
    Thanks & Regards,
    Raghuveer

  • Why can't EXS find my instruments and samples?

    Why can't EXS find my Instruments and Samples?
    LPX 10.0.7
    I have had issues with this problem before, and have spent a few hours looking throughout the many related threads on this forum and on Logic Pro Help without finding a workable solution.  So I will jump in again and hope for someone to shed some light on this.
    Here is the scenario- I have two rigs, one in my studio and another on my laptop (2.5 gh Intel core 2 Duo with 4GB RAM). I have a duplicate of my sample library on a portable drive, which I take with me when I'm using my laptop. I recently copied a Project I'm working on from the portable drive to my main system. When I open the project, I get a message telling me that certain (not all) EXS files are not found.
    Some further pertinent info:
    I have not saved the EXS files with the project- the project uses a sizable template and that would be cumbersome.
    All of the EXS instruments/samples in the Project are there on both my internal sample drive and the portable drive.
    The aliases linking my Application support Logic folder and the sample drive are correct and in place.
    This happens whether I have the portable drive mounted on my main rig or not. And whether I open the Project from the portable drive or from the copy on the internal drive.
    I have reindexed the internal sample drive with Spotlight. Didn't help.
    I have refreshed the Instrument menu from within EXS. Didn't seem to do anything.
    Anyone?

    Hi Sig! Thank you very much for your reply. But my version is iLife 11, and it should have an iWeb and iDVD

  • Why can't i find an iCloud icon on my computer or my devices

    why can't i find an iCloud icon on my computer or my devices

      -> Systemsettings -> iCloud.
    You must have OSX 10.7.2 , else it is not part of OSX.
    for iOS : version 5 is needed, tap Settings -> iCloud.

  • Why can´t  I find my 5d Mark ii in the finder when I connect it with my mac?

    Why can´t  I find my 5d Mark ii in the finder when I connect it with my mac?

    Because it is not a mass storage device that would appear in the Finder. It uses the Picture Transfer Protocol (PTP) to interface with a computer. It can be accessed using an application that uses PTP, such as Image Capture, iPhoto, Aperture, or Canon's software. These applications also support more camera-specific features than the Finder would, such as tethered shooting and possibly camera clock synchronization.

  • Why can't the finder in Mountain Lion 10.8.2 find files that have successfully downloaded, or that other programs can find?

    Why can't the finder in Mountain Lion 10.8.2 find files that have successfully downloaded, or that other programs can find?
    This happens with maybe 1 out of 5 files. These are files that have either an ."aa" extention, or or are libraries that icloud can see, but finder can't.

    Files beginning with a period are invisible and library files are system files. Spotlight cannot find either unless configured to do so (btw, this is not a Finder issue but a Spotlight issue.)
    Get Spotlight to search system files (and more)
    Enter the search term in the Finder window's search field.
    Click the [+] button in the search bar to add a search option.
    In the first drop down menu choose Other.
    Choose “System Files” from the list that pops up (and check the box to place in drop down menu to avoid this step later,) click on the OK button.
    Now back in the Finder choose Include from the second drop down menu.

  • Why can't iTunes find all the album artwork?

    Why can't iTunes find all the album artwork?

    That would fall under Browsing History. Firefox > History -> Show All History
    Firefox doesn't use Temporary Internet Files for anything except Windows Media files.
    Type '''about:cache''' in the URL bar and hit Enter. <br />
    Disk cache device = List Cache entries

  • Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

  • Why can't I find a downloaded document

    Why can't I find an Excel document that I downloaded form an email?

    Did you look in your Downloads folder?
    Click on the Face icon in the Dock, a window appears, then click your "home" name on the left and there should be a row folders one called Downloads. Doubleclick it to open.
    You shoud run a free ClamXav scan on all incoming files just as a precaution
    http://www.clamxav.com/

Maybe you are looking for

  • ASKBN error: Posting period Jan is not open

    Hi, We are getting the following error : Posting period Jan 2009 is not open when we do ASKBN. Can it be resolved without opening period Jan 2009? if we dont resolve it we cannot do AJAB. But if we open Jan and do ASKBN what could be the financial im

  • Autofs direct mapping not working

    Hi there, I'm currently migrating from Gentoo and hit a problem. I'm trying to use an autofs feature called 'Direct mapping'. It allows one to use map one directory to a specific server. Combined with ghosting, one can use this to do a on demand bind

  • "Skip" in Import Format not skipping some rows

    We are currently using FDM 11.1.1.1.00 and we have a problem with skipping lines based on currency (which is our AccountDescription). We first extract 28392 lines from Oracle EBS (27921 CAD and 471 USD). No mather what we put in the skip condition, t

  • Tomcat Not Listening on 8080

    Hi, I can nolonger connect to 192.168.0.90:8080, which should be tomcat4. This has also, I believe, caused my A record to stop redirecting my email clients to my GroupWise server. I found this in the catalina.out log: <GroupWise WebAccess Spell Check

  • App Crashes Ipod Touch

    I opened an app called 'my horse' and it froze my whole ipod. I have tried everything(restarting, pressing buttons,holding buttons) but it won't work. I even plugged into the computer and itunes doesnt even recognize it. What else can I do?