Can someone tell me that:

Can we get two step back referrer using php ? for example someone come though google.com to mysite.com and then he/she clicked on any other page of like mysite.com/page.php and on that page referrer should be google.com not mysite.com

possible ?
Pleas help