ryanfilard Posted December 5, 2011 Share Posted December 5, 2011 How would I open a text file from another server and echo it. http://mysite.com/news/feed.txt Quote Link to comment https://forums.phpfreaks.com/topic/252540-get-file-and-echo-text/ Share on other sites More sharing options...
awjudd Posted December 5, 2011 Share Posted December 5, 2011 Using something like file_get_contents ( http://php.net/file_get_contents ) ... Easy to find with a simple google search: http://lmgtfy.com/?q=php+%2B+get+file+from+url ~awjudd Quote Link to comment https://forums.phpfreaks.com/topic/252540-get-file-and-echo-text/#findComment-1294760 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.