jokerfool Posted January 2, 2010 Share Posted January 2, 2010 I am collecting data which is sent to a text file, how can I grab the text and output the contents back to a domain, just trying to find the code. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/186967-echo-txt-output-help/ Share on other sites More sharing options...
Alex Posted January 2, 2010 Share Posted January 2, 2010 You just want to get the contents of a file and echo it out? Use file_get_contents: echo file_get_contents('filename.txt'); Quote Link to comment https://forums.phpfreaks.com/topic/186967-echo-txt-output-help/#findComment-987327 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.