include a website in php file

Solutions on MaxInterview for include a website in php file by the best coders in the world

showing results for - "include a website in php file"
Giacomo
08 Jan 2019
1Extremely insecure:
2<?php include("http://www.othersite.com/filename.html"); ?>
3
4What you probably want is:
5<?php print file_get_contents("http://www.othersite.com/filename.html"); ?>