how to get previous page name in php
basename($_SERVER['HTTP_REFERER']);
how to get previous page name in php
basename($_SERVER['HTTP_REFERER']);
how to get the previous page url in php
//This should be on the previous page
session_start();
$_SESSION["url"] = "the_url_of_page_we_want_to_get_back.php";
//This should be on the current executing page
session_start();
$previous_page_url = $_SESSION["url"];
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us