Text seeking!

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
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Text seeking!

Post by Joe »

Is there any technique like fseek but searches for a specific text line before reading data. For example if line 82 said "hello there!" is there any way i could seek it.


All the best!


The lil man Joe :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

not that I know of..

the system would have to read the entire file (pretty much) anyways to do it..
Post Reply