Friday, April 6, 2012

how to reads entire file into string?

file_get_contents();
file_get_contentsReads entire file into a string

<?php
$homepage
= file_get_contents('http://www.example.com/');
echo
$homepage;?> 



No comments:

Post a Comment