Urgent!

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
mleskine
Forum Newbie
Posts: 7
Joined: Fri Feb 14, 2003 6:44 am

Urgent!

Post by mleskine »

Hi,
has anyone done a script that searches a string inside file?
Quick help needed.
thanks
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Have you checked hotscripts.com?

Mac
Tubbietoeter
Forum Contributor
Posts: 149
Joined: Fri Mar 14, 2003 2:41 am
Location: Germany

Post by Tubbietoeter »

Use preg_match() on each line.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

you might find grep useful as well. Not a script but a common tool. There are also win32 ports.
Post Reply