How to get current page full URL in PHP

Post Views: 13 Step 1: Deciding on the SSL protocol whether the site using http or https. if(isset($_SERVER[’HTTPS’]) && $_SERVER[’HTTPS’] === ‘on’) { $url = ‘https’; } else { $url = ‘http’; }...