Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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"); ?>
 
PREVIOUS NEXT
Tagged: #include #website #php #file
ADD COMMENT
Topic
Name
8+6 =