NinjaNoodles
Oct 12th 2006, 4:52 pm
Here's how the blog works:
I type to a JavaScript form on a password protected HTML file.
The HTML file transfers the JavaScript form to a password protected PHP file.
The PHP file transfers the data to text file 2.
The PHP copies the old data (previous posts) from text file 1.
The PHP imports the copied data to text file 2, under the new post.
The PHP copies the new contents of text file 2 to text file 1, keeping it up-to-date.
Another PHP file renders each line of text file 2 as a post, detecting the title, date and message.
That PHP file then displays the contents of text file 2.
An HTML file displays the PHP file in a frame.
6 files total (including an unabridged version of the blog).
End result: http://www.monochromedia.com/weblog.html
I type to a JavaScript form on a password protected HTML file.
The HTML file transfers the JavaScript form to a password protected PHP file.
The PHP file transfers the data to text file 2.
The PHP copies the old data (previous posts) from text file 1.
The PHP imports the copied data to text file 2, under the new post.
The PHP copies the new contents of text file 2 to text file 1, keeping it up-to-date.
Another PHP file renders each line of text file 2 as a post, detecting the title, date and message.
That PHP file then displays the contents of text file 2.
An HTML file displays the PHP file in a frame.
6 files total (including an unabridged version of the blog).
End result: http://www.monochromedia.com/weblog.html