Edit a file
View Single Post
06-11-2009, 08:36 PM
Join Date: May 2007
Location: Your G/F's Closet
I don't know if there is a way with a file but don't quote me on this as I'm still quite knew myself however what you can do which i would recommend is create a .php file that will connect to a mysql database and then use the php file to create the .txt and then simply store your newcontent within a mysql database.
Basically to do that without having to enter then click a link to visit the php page you can take your form (im assuming your using a form to get your newcontent) and make it get processed in the .php page then make the php page update the mysql database, then read the database and output a .txt page and after it outputs the .txt page make it redirect to the .txt
Sorry if i did not answer your question, I will see if i can come up with anything.
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25
- Andrew Rutherford
View Public Profile
Send a private message to Randy
Visit Randy's homepage!
Find More Posts by Randy