Previous Webpage PHP function
===

I'm not sure if this is possible or not. I want to get the webpage url the user came from to reach a page on my website. Is there a function that can find that info out for me? 