OK, I know how to write to a .txt file, and I know how to retreive the contents and modify them to some degree, but I want to be able to parse them for something like information between special characters to be put into a variable.
What I’m thinking is something like.. this’d be the .txt file
[code]
|||example post|||
:::someguy:::
;;;3/27/04;;;
Lorem ipsum blah blah example example woot.
this’d be the results of the php file..
[code]<html>
<head>
<title>example post</title>
</head>
<h2>Example post</h2>
<pre>Lorem ipsum blah blah example example woot.</pre>
<p>Posted by <i>someguy</i> on 3/27/04</p>
Can anyone tell me at least where to start? I’m somewhat of a PHP n00b, but if you show me the right functions, and give me a push in the right direction, then I should be able to handle the rest myself with ease.