Posted by Geoff Berrow on 04/02/06 12:06
Message-ID: <dRKXf.49684$1Z5.15059@tornado.texas.rr.com> from RM
contained the following:
>I guess my main question is, will PHP allow me to do this and are there any
>links that I coud go to that would provide some insight in to how to do it.
>My PHP books do not go into detail on searching or editing text files.
Yes php can do all this. I suggest you study the online manual for
strpos() for the search and file functions for the other operations.
For instance, file_get_contents() gets the contents of the file into a
string and strpos() allows you to search that haystack for a needle.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|