Answers for "how to a php file to your webiste"

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
2

how to open php in browser

php -S localhost:8000
Posted by: Guest on January-15-2021

Code answers related to "how to a php file to your webiste"

Browse Popular Code Answers by Language