include a website in php file code example
Example 1: insert an html page into php
<?php
// do php stuff
include('fileOne.html');
include('fileTwo.html');
?>
Example 2: include a website in php file
Extremely insecure:
<?php include("http://www.othersite.com/filename.html"); ?>
What you probably want is:
<?php print file_get_contents("http://www.othersite.com/filename.html"); ?>