GetDotted Domains

Viewing Thread:
"Can I tell who's been linking to my site?"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 25/08/05 at 11:40
Regular
"Pouch Ape"
Posts: 14,499
Yo, I saw an interesting feature on a website the other day - a "who's linking to this page" list - and wondered if it was something that can be found out using web-witchcraft, or had the person simply made the list themselves? I use mod_rewrite and .htaccess, which are mainly for disallowing access to protected files, or files linked to outside of a script, but it's far more interesting (to me, anyway) to see who's been linking and to publish that information.

Had a look on Google, but all I can find is info on mod_rewrite/htaccess - any ideas? I'm guessing it would have to be some sort of server protocol. can you use PHP commands within an .htaccess file to log access?
Thu 25/08/05 at 11:40
Regular
"Pouch Ape"
Posts: 14,499
Yo, I saw an interesting feature on a website the other day - a "who's linking to this page" list - and wondered if it was something that can be found out using web-witchcraft, or had the person simply made the list themselves? I use mod_rewrite and .htaccess, which are mainly for disallowing access to protected files, or files linked to outside of a script, but it's far more interesting (to me, anyway) to see who's been linking and to publish that information.

Had a look on Google, but all I can find is info on mod_rewrite/htaccess - any ideas? I'm guessing it would have to be some sort of server protocol. can you use PHP commands within an .htaccess file to log access?
Thu 25/08/05 at 15:11
Regular
Posts: 6,492
My web host has a list of websites which have referred people to my website,so gohave a look and see if your host has a referral list for your site.

I get mine through Webalizer statistics package.

Tells me IP addresses of people visiting my site, how much they download, how many times each page gets hit, the browsers people are using, where in the world they arefrom etc.etc.
Thu 25/08/05 at 15:26
Regular
"Devil in disguise"
Posts: 3,151
Servers logs usually carry referer information so you can extract the information from your access logs if its turned on. You can also try using $_SERVER['HTTP_REFERER'] in PHP to extract it as well.
Theres also some free services that do it all for you such as
http://referer.org/

And just to save anybody else the bother of saying so, referal information isnt exactly trustworthy. Some browsers dont send it, or allow you to change it. Also its a tool for spamming and generating link farms. Some of the sites I run regularly get alot of referers from porn sites despite there clearly being no link. Also theres spyware out there that thinks its amusing to change the referer. So basically, its dubious information to publish on your site. :)

If you're just interested in the information, you can do
[URL]http://www.google.co.uk/search?hl=en&q=link%3Awww.pocketmonkey.co.uk&meta=[/URL] too.
Thu 25/08/05 at 16:21
Regular
"Pouch Ape"
Posts: 14,499
So basically not a good idea then!

OK, thanks for the advice.
Thu 25/08/05 at 18:19
Regular
"Chavez, just hush.."
Posts: 11,080
I was gonna do that too, but I never got anywhere with it because it requires thought and effort.

$ref=@$HTTP_REFERER;

CONNECT

$sql = "UPDATE file SET ref='$ref' WHERE id=$id";

$result = mysql_query($sql);

mysql_close($db);

That's my really crude version of it, it displays the last referring site to each file that's accessed.

[URL]http://www.phi11ip.com/search.php[/URL]

That's what it shows up as.
Thu 25/08/05 at 19:35
Regular
"Pouch Ape"
Posts: 14,499
Hey, not trying to tread on your toes, but if you're having trouble doing search functions in SQL...

[URL]http://www.w3schools.com/sql/sql_where.asp[/URL] - scroll down to LIKE.

(sorry)
Thu 25/08/05 at 21:34
Regular
"Chavez, just hush.."
Posts: 11,080
Hehe, I could easily do that if I had the patience to sit there and go through it, but I'm crap and I have no motivation.

I haven't updated the site in ages, people are getting angry at me.
Thu 25/08/05 at 21:35
Regular
"Pouch Ape"
Posts: 14,499
I'm not.
Fri 26/08/05 at 12:21
Regular
"Twenty quid."
Posts: 11,452
Grrr.

Etc.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10
Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.