Answers for "php fetch current url"

PHP
11

php get full url

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

how to fetch data from url in php properly

use <?php $_SERVER['REQUEST_URI'] ?> in action"" to get the data properly
Posted by: Guest on July-25-2020
0

how to fetch data from url in php properly

Add action="<?php $_SERVER['REQUEST_URI']; ?>" if you dont know just copy and paste it
Posted by: Guest on July-25-2020

Browse Popular Code Answers by Language