Re: [PHP] Need a simple one time search utility

2008-04-14 Thread tedd
At 3:07 PM -0400 4/14/08, Wolf wrote: Between you and Tedd having basic coding/spelling issues, I sure hope it's because you were at the Van Halen Concert!! ;) Tsk, tsk. Just you wait until the next time you post. Tsk, tsk indeed. ;-) Cheers, tedd -- --- http://sperling.com http://a

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread tedd
At 3:16 PM -0400 4/14/08, Daniel Brown wrote: ... while I'm on my honeymoon. I probably won't be any higher than fifth place. ;-P On my honeymoon, I couldn't help but place first. ;-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP Gen

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Daniel Brown
On Mon, Apr 14, 2008 at 3:31 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > grep -rin > > is my favorite :) and --color is the shit too! i wanted to add some more > options to mine, but i was trying to prove a point sort-of and get something > out the door as quickly as possible, based on OPs c

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Nathan Nobbe
On Mon, Apr 14, 2008 at 1:11 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: >As a result, it was typed in /too much/ haste and as a result, > made me look like a moron --- even moreso than normal! However, it > also led me to add in a case-insensitive search option. grep -rin is my favor

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Daniel Brown
On Mon, Apr 14, 2008 at 3:07 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > >I disabled some of the code tracking until I can stop you fools > > from flooding the stats! ;-P > > > > damn; not after i posted that nice fat class :O I just double-checked, and your code count was included.

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Daniel Brown
On Mon, Apr 14, 2008 at 3:07 PM, Wolf <[EMAIL PROTECTED]> wrote: > > Dang Dan! > > Between you and Tedd having basic coding/spelling issues, I sure hope it's > because you were at the Van Halen Concert!! ;) > > Tsk, tsk. > > And to think, your search even came back with the right term, you mu

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Nathan Nobbe
On Mon, Apr 14, 2008 at 12:54 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 2:48 PM, Philip Thompson <[EMAIL PROTECTED]> > wrote: > > > > > $stringSoMyStatsWillIncrease = " > > I know it's only a demo, but there is a small error. You have this > string > > spit out: >

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Wolf
Daniel Brown <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 2:48 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > > > > > $stringSoMyStatsWillIncrease = " > > I know it's only a demo, but there is a small error. You have this string > > spit out: > > > > Sorry, for this demo, onl

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Daniel Brown
On Mon, Apr 14, 2008 at 2:48 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > >$stringSoMyStatsWillIncrease = " > I know it's only a demo, but there is a small error. You have this string > spit out: > > Sorry, for this demo, only the word `pilopig` is allowed as a search string. > > Howeve

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Philip Thompson
On Mon, Apr 14, 2008 at 12:15 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Sat, Apr 12, 2008 at 3:13 PM, Al <[EMAIL PROTECTED]> wrote: > > I need a simple utility that simulates GREP to find a certain string in > any > > php files on my website. > > > > Site is on a shared host w/o shell acce

Re: [PHP] Need a simple one time search utility

2008-04-14 Thread Daniel Brown
On Sat, Apr 12, 2008 at 3:13 PM, Al <[EMAIL PROTECTED]> wrote: > I need a simple utility that simulates GREP to find a certain string in any > php files on my website. > > Site is on a shared host w/o shell access so I can't run GREP. > > I can write a PHP scrip to do it; but, this is a one time

Re: [PHP] Need a simple one time search utility

2008-04-13 Thread Nathan Nobbe
On Sat, Apr 12, 2008 at 4:31 PM, Al <[EMAIL PROTECTED]> wrote: > I know how to script one to do the job; but, I was hoping to save a few > hours.. here; ill spare you the few hours ;) as it stands this is designed to be invoked from the cli, but theres a class in here that does all the heavy li

Re: [PHP] Need a simple one time search utility

2008-04-12 Thread Al
I know how to script one to do the job; but, I was hoping to save a few hours.. Nathan Nobbe wrote: On Sat, Apr 12, 2008 at 3:42 PM, Al <[EMAIL PROTECTED]> wrote: host prohibits shell_exec() im sure you could put something together w/ php_grep(); http://www.php.net/preg-grep -nathan

Re: [PHP] Need a simple one time search utility

2008-04-12 Thread Nathan Nobbe
On Sat, Apr 12, 2008 at 3:42 PM, Al <[EMAIL PROTECTED]> wrote: > host prohibits shell_exec() im sure you could put something together w/ php_grep(); http://www.php.net/preg-grep -nathan

Re: [PHP] Need a simple one time search utility

2008-04-12 Thread Al
host prohibits shell_exec() Casey wrote: On Apr 12, 2008, at 12:13 PM, Al <[EMAIL PROTECTED]> wrote: I need a simple utility that simulates GREP to find a certain string in any php files on my website. Site is on a shared host w/o shell access so I can't run GREP. I can write a PHP scrip t

Re: [PHP] Need a simple one time search utility

2008-04-12 Thread Casey
On Apr 12, 2008, at 12:13 PM, Al <[EMAIL PROTECTED]> wrote: I need a simple utility that simulates GREP to find a certain string in any php files on my website. Site is on a shared host w/o shell access so I can't run GREP. I can write a PHP scrip to do it; but, this is a one time thing and

[PHP] Need a simple one time search utility

2008-04-12 Thread Al
I need a simple utility that simulates GREP to find a certain string in any php files on my website. Site is on a shared host w/o shell access so I can't run GREP. I can write a PHP scrip to do it; but, this is a one time thing and I was hoping to find something to save me the effort. Thanks