Answers for "php page include"

PHP
0

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"); ?>
Posted by: Guest on February-11-2021

Browse Popular Code Answers by Language