Page 1 of 1

How to find a word inside a document with PHP?

Posted: Thu Jan 22, 2009 5:19 pm
by lovelf
How could I find a word, example: "hello" inside my document with PHP?

Re: How to find a word inside a document with PHP?

Posted: Thu Jan 22, 2009 7:17 pm
by wpsd2006
str_search
or
pregmatch
check the php document

Re: How to find a word inside a document with PHP?

Posted: Thu Jan 22, 2009 7:30 pm
by lovelf
Thank You.