How the function file_get_contents() work?
file_get_contents() — Reads the file into a string
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
file_get_contents() — Reads entire file into a string.
<?php
$data = file_get_contents('http://www.example.com/');
echo $data;
?>