title: PHP: How to detect where user is going out from my website
body: <p>I  have strange requirement and I am not able to find dour whether it is feasible or not. Business wants to know outgoing activity from user. like from our website, where user goes out?</p>
  
  <p>For example: user comes on my website (source): www.DummyTest123.com. After 5 mins of surfing, he goes out to (destination) www.Google.com or www.AnyOtherWebite.com.</p>
  
  <p>How do I know can capture ( www.Google.com or www.AnyOtherWebite.com.) in my Database.</p>
  
  <p>What are the classes or methods available in php to accomplish above requirement?</p>
  
  <p>PS: http_referer will not work as in that , my website is destination.</p>
  
  <p>Thanks</p>