Re: loking for a item in string?

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

 



On Sun, Nov 07, 2004 at 08:32:53AM -0600, Greg Donald wrote:
> On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks
> preg_match() can do that.
> 
> php.net/preg_match
> 

Easiest possible way to do this ( for you the programmer ) is to slurp
the whole file in as a string  and search for your pattern across
newlines

 

-- 
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