note 72263 rejected from function.fseek by nlopess

From: Date: Wed, 10 Jan 2007 14:54:03 +0000
Subject: note 72263 rejected from function.fseek by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121535@lists.php.net to get a copy of this message
Note Submitter: donno dot cole at pobox dot com ---- I'd like to know if it's possible, using fseek or some other function; to set the file position indicator based on specific text? I have a text file that has a varying header size. However, the data I want to start reading does not begin until the line below the string "CLIENTS:" (without quotes). Is there a way to move the file position indicator to that line below CLIENTS: Thanks!

« previous php.notes (#121535) next »