Answers for "php get full url from uri object"

PHP
12

php get full url

$fullURL = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
Posted by: Guest on October-30-2019
0

Get the full url in php

$actual_link = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
Posted by: Guest on September-28-2021

Browse Popular Code Answers by Language