Answers for "how to get php file from url"

PHP
3

php get url with get

$full_url = 'http://'.$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI];
Posted by: Guest on March-26-2021
0

php open url

$page = fopen('http://www.example.com/filename.html');
//or
$page = file_get_contents('http://www.example.com/filename.html');

echo $page;
Posted by: Guest on August-06-2021

Code answers related to "how to get php file from url"

Browse Popular Code Answers by Language