snowman15 Posted June 22, 2007 Share Posted June 22, 2007 I have a form that sends a string to a script that writes the string inside of a .txt file and then in another script under it, it opens up the .txt file and prints it on the screen. But, every time i go straight to the .txt file it still shows up as to what was originally inside of the .txt file (the word, "hello"). So it seems like the code is working because its printing whatever i put in the form but then i go to the .txt file and its back to normal. Is this suposed to happen? Am i suposed to save it that way somehow? input would be great! Quote Link to comment https://forums.phpfreaks.com/topic/56757-solved-quick-question-please-help-saving-txt-file/ Share on other sites More sharing options...
chigley Posted June 22, 2007 Share Posted June 22, 2007 This is possibly being caused by your browsers cache. When viewing the txt file, press Ctrl + F5 to refresh and clear the cache. Quote Link to comment https://forums.phpfreaks.com/topic/56757-solved-quick-question-please-help-saving-txt-file/#findComment-280288 Share on other sites More sharing options...
snowman15 Posted June 22, 2007 Author Share Posted June 22, 2007 wow that was a stupid mistake. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/56757-solved-quick-question-please-help-saving-txt-file/#findComment-280292 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.