Re: New search related question
| From: | Jim Lucas | Date: | Tue, 05 Feb 2008 16:29:39 +0000 |
| Subject: | Re: New search related question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268722@lists.php.net to get a copy of this message | ||
Jason Pruim wrote:
On Feb 4, 2008, at 7:42 PM, Jim Lucas wrote:Just finished adding the ability to show a snippet of the code, file modification time, and size to the results page. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William ShakespeareDaniel Brown wrote:I'd love to see both! I'm always trying to look at other peoples code so I can get an idea of the Right Way(tm) to do it :) And thanks for all the input! Hopefully this will end up coming in useful! :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.comOn Feb 4, 2008 2:48 PM, Jason Pruim <japruim@raoset.com> wrote:So did I... :) Has options for searching recursively, case sensitivity, and displayable HTML only or the entire file. Also a restriction to limit which filetypes from the results it will display. It only works on *nix, I used grep. Don't have to worry about cron, scheduled tasks, etc to refresh a DB. I have it searching about 7000 files that range from plain text 2k all the way up to 60meg binary zip files, and it is rather quick at it. I think I will use this in my script testing area. I have already found it to be rather handy. Instead of trying to remember where something is, all I have to do is search for it. But now I don't have to log into my server and run grep from the command line. I hated having to do that just to find one script example.Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, and she doesn't want to redo the entire website to make it dynamic.I got bored, so I wrote out a system to handle it. Let me know if you want the source when it's done.