I am trying to figure out a way that would make Jessica (Marve) able to update atleast parts of her site by herself.<br />A few days ago i found this script on a php site<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><? <br />$filen = file('namnsdag.txt'); <br />echo "".$filen[date('z')+1]; <br />?><!--c2--></div><!--ec2--><br />What it does is that it updates one line on her site every midnight.<br /><br />Now what i would like to do is to place this or something similar on other places on the site so that Jessica can just upload a text file and the text in that will show up on site, but not that it changes or disappear each midnight.<br /><br />I know another way to do this (with a js-file) thanks to TCH-Don <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> but it would require Jessica to insert < b r > and things like that, which she would hate to learn <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid="" border="0" alt="wink.gif" /> .<br /><br />I tried to insert the above code with another txt.file it could refer to, but nope it didnt work. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid="" border="0" alt="sad.gif" /><!--content-->
(if I am guessing right)<br /><br />You are trying to have a way for someone to add text, like a message, to the site. How much formatting are you concerned with?<br /><br />This could be as simple as having a text file that php opens, reads the info into an array and then runs a FOR loop to print out each line in a message.<br /><br />There should be plenty of pre-made scripts that you could use for this. Check out<br /><br /><a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/News_Publishing/index.html" target="_blank">http://www.hotscripts.com/PHP/Scripts_and_...hing/index.html</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Content_Retrieval/" target="_blank">http://php.resourceindex.com/Complete_Scri...tent_Retrieval/</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Homepage_Communities/" target="_blank">http://php.resourceindex.com/Complete_Scri...ge_Communities/</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Web_Page_Design/" target="_blank">http://php.resourceindex.com/Complete_Scri...eb_Page_Design/</a><br /><br />you should be able to find something in those that will do what you are looking for Rock Sign<!--content-->
First, Thanks scotttyz <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> <br /><br />I went through those pages and there was 100纾
(if I am guessing right)<br /><br />You are trying to have a way for someone to add text, like a message, to the site. How much formatting are you concerned with?<br /><br />This could be as simple as having a text file that php opens, reads the info into an array and then runs a FOR loop to print out each line in a message.<br /><br />There should be plenty of pre-made scripts that you could use for this. Check out<br /><br /><a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/News_Publishing/index.html" target="_blank">http://www.hotscripts.com/PHP/Scripts_and_...hing/index.html</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Content_Retrieval/" target="_blank">http://php.resourceindex.com/Complete_Scri...tent_Retrieval/</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Homepage_Communities/" target="_blank">http://php.resourceindex.com/Complete_Scri...ge_Communities/</a><br /><br /><a href="http://php.resourceindex.com/Complete_Scripts/Web_Page_Design/" target="_blank">http://php.resourceindex.com/Complete_Scri...eb_Page_Design/</a><br /><br />you should be able to find something in those that will do what you are looking for Rock Sign<!--content-->
First, Thanks scotttyz <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> <br /><br />I went through those pages and there was 100纾