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. 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'); Link to comment https://forums.phpfreaks.com/topic/186967-echo-txt-output-help/#findComment-987327 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.