RE: [PHP] searching in file
| From: | Adam Charnock | Date: | Mon, 28 Aug 2000 17:00:16 +0000 |
| Subject: | RE: [PHP] searching in file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13971@lists.php.net to get a copy of this message | ||
Is there a way to find the number of occurrences in the file (in PHP3). I've
seen a function in PHP 4 to do it, but not in 3.
Thanks :-)
Adam
-----Original Message-----
From: Hans H. Anderson [mailto:hans@hansanderson.com]
Sent: 28 August 2000 17:22
To: Worawisut Pinyoyang
Cc: php-general@lists.php.net
Subject: Re: [PHP] searching in file
See strstr() and strpos() in the manual.
Hans Anderson
me@hansanderson.com
http://www.hansanderson.com/
http://www.goofiness.com/
On Mon, 28 Aug 2000, Worawisut Pinyoyang wrote:
>
> If i 'd like to search the word "Nut" in text files (I have many text
> files). Which function i can do this job.
>
> Thank you very much
>
> W.Pinyoyang
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net