this will display the website address the visitor came from.

please note that these referer headers can be spoofed and/or turned off.

relying on these to do a critical task is asking for trouble.

download options for information / referer info

you can download the source as PHP file,

open the file as plain text in a new window or

get the code in a textarea to copy it.