php connect to another webserver code example
Example 1: link to another page php
echo ' <a href="index1.php">page1</a>';
echo '<a href="page2.php">page2</a>';
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"); ?>