Php Get Complete Url Of Page

[Solved] Php Get Complete Url Of Page | Php - Code Explorer | yomemimo.com
Question : php get full url

Answered by : code-grepper

$fullURL = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

Source : | Last Update : Wed, 06 Nov 19

Question : complete url php

Answered by : portapipe

//Get complete URL with http/https and GET parameters
$complete_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

Source : | Last Update : Wed, 23 Jun 21

Answers related to php get complete url of page

Code Explorer Popular Question For Php