I need to check user\'s previous URL (From where user came to the current page) by using PHP. It should look like this
if($previousURL == $someURL){ //do some