How to find a word inside a document with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lovelf
Forum Contributor
Posts: 153
Joined: Wed Nov 05, 2008 12:06 am

How to find a word inside a document with PHP?

Post by lovelf »

How could I find a word, example: "hello" inside my document with PHP?
wpsd2006
Forum Commoner
Posts: 66
Joined: Wed Jan 07, 2009 12:43 am

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

Post by wpsd2006 »

str_search
or
pregmatch
check the php document
lovelf
Forum Contributor
Posts: 153
Joined: Wed Nov 05, 2008 12:06 am

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

Post by lovelf »

Thank You.
Post Reply