English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Php help:assume there are plenty of links of my web site on other web sites. how would i know that from where a visitor came to my site . i mean a there must be a reference kind of function . which is this. please help me . very thankful to you people as always for your supportings.

2007-09-29 05:55:57 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

Well what you want to capture is the referer address.
echo $HTTP_REFERER;
?>
Here is a canned one to do that with:

http://www.stadtaus.com/en/php_scripts/counter_script/

if you just want to pull that data from your logs
http://www.hotscripts.com/Detailed/14575.html
will do nicely.

2007-09-29 06:03:53 · answer #1 · answered by Tracy L 7 · 0 0

fedest.com, questions and answers