file_get_contents Gets data from specified location wether it be weblink or local drive location...
file_get_contents("http://spcn.io/"); would retrieve website "spcn.io" homepage.
file_get_contents("file.txt"); would retrieve data from same folder as file unless path to file is specified
Click Here For Further File Get Contents Help