1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

File_Get_Contents () PHP Function


Definition: File_Get_Contents () works the same as file () except it returns a string instead of an array. This function retrieves data from an external file and then puts it into a string for use.
 $file = file_get_contents ('YourFile.txt'); 
 Echo $file;
Top Related Searches
  • array
  • lt
  • ©2014 About.com. All rights reserved.