1. Computing

Discuss in my forum

File_Get_Contents () PHP Function

By , About.com Guide

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.
Examples:
 <?php 
 $file = file_get_contents ('YourFile.txt'); 
 Echo $file;
 ?> 
Related Video
Zip File 101
Share a File or Folder in Vista
Top Related Searches array lt
  1. About.com
  2. Computing
  3. PHP / MySQL
  4. PHP Functions
  5. file_get_contents - File Get Contents - File Get Contents PHP

©2013 About.com. All rights reserved.