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 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 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
Archived
This topic is now archived and is closed to further replies.