83358/how-to-get-original-url-referer-with-php
Hello @kartik,
Store it either in a cookie or in a session variable:
session_start(); if ( !isset( $_SESSION["origURL"] ) ) $_SESSION["origURL"] = $_SERVER["HTTP_REFERER"];
Hope it helps!! Thank you!!
Hello @kartik, Have a look at $_SERVER['REQUEST_URI'], i.e. $actual_link = ...READ MORE
Hello @kartik, $_GET is not a function or language ...READ MORE
Hello @kartik, You can use the URL facade ...READ MORE
Hello @kartik, Try this: preg_replace('/\\?.*/', '', $str) Hope ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, Use $_SERVER['REQUEST_URI']. The URI which was given in ...READ MORE
Hello @kartik, Try this: <?php echo "http://" . $_SERVER['SERVER_NAME'] ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.