php word search in gz files

I want to search a word in all the gz file in a folder and list the file name which contain the word. Can any one help me?

As far as I know, you can’t do it without uncompressing:

Similar answers about grep’ing
http://forums.devshed.com/unix-help-35/grep-gz-file-uncompress-364819.html

Sponsor our Newsletter | Privacy Policy | Terms of Service