Re: Need a simple one time search utility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 12, 2008 at 3:13 PM, Al <news@xxxxxxxxxxxxx> 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 I was
> hoping to find something to save me the effort.

    Al,

    For yourself and others searching for the same type of thing in
the future, I threw this script together.  There's always room for
improvement, but it's a fully-functional trunk with which to start.
All native PHP functions, no external exec() access required.  Full
source linked from the bottom of the page.

    http://pilotpig.net/code-library/recursive-grep.php

-- 
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux