Re: Re: Function needed
| From: | Gaylen Fraley | Date: | Sun, 09 Jun 2002 15:23:19 +0000 |
| Subject: | Re: Re: Function needed | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101332@lists.php.net to get a copy of this message | ||
This resricts to *nix and can be disallowed due to security constraints, but
thanks anyway. I just wrote my own PHP routine.
--
Gaylen
PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/
"Chris Hewitt" <g0pae@manordat.demon.co.uk> wrote in message
news:3D036F29.3070002@manordat.demon.co.uk...
> $result=
ls -R | grep 'expression' ./;
>
> HTH
> Chris
>
> Jason Wong wrote:
>
> >On Sunday 09 June 2002 17:17, Austin Marshall wrote:
> >
> >>Gaylen Fraley wrote:
> >>
> >>>I am in need of a function/script that will take a directory and search
> >>>all filenames, recursively down, for a given file. Can anyone point me
> >>>to a source? Thanks.
> >>>
> >>$result=grep -r 'expression' ./;
> >>
> >
> >This searches for strings within a file.
> >
>
>