php get previous url

44

how to get previous page name in php -

basename($_SERVER['HTTP_REFERER']);

Comments

Submit
0 Comments