Results 1 to 8 of 8
-
05-04-2003, 06:03 PM #1Web Hosting Master
- Join Date
- Feb 2002
- Posts
- 1,298
Can visitors from a certain web site be blocked?
If possible, how could it be done?
Thanks
John
-
05-04-2003, 07:01 PM #2Junior Guru Wannabe
- Join Date
- May 2003
- Posts
- 68
Do you mean visitors from a certain isp or visitors coming from a certail referral site?
IE everyone who clicked on your address from for example google.com? or all everyone using aol..
The blocking of anyone clicking through (eg) google.com is a simple referral check which you could write very quickly and easily write in php.
-
05-04-2003, 07:28 PM #3Web Hosting Master
- Join Date
- Feb 2002
- Posts
- 1,298
No, sorry, I meant visitors from a certain web site - they click a link that points to my web site etc.
John
-
05-04-2003, 07:44 PM #4Junior Guru Wannabe
- Join Date
- May 2003
- Posts
- 68
Like I said, simple php script checking the referral address.
-
05-05-2003, 12:29 PM #5Retired Moderator
- Join Date
- Jan 2003
- Posts
- 9,049
It can be done but it depends a lot on their browsers. Sometimes the referral address isn't captured for some reason.
••• Like us on Facebook to qualify for discounts! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••
-
05-05-2003, 03:22 PM #6Web Hosting Master
- Join Date
- Feb 2002
- Posts
- 1,298
Ok, thanks alot for your input
John
-
05-05-2003, 04:45 PM #7ThirtySx Bits Forever!
- Join Date
- Jul 2001
- Location
- Canada
- Posts
- 1,284
Additionally some privacy concious folks have th referrer blocked so it isn't reported, giving the same effect as sprintserve's observation about the browser just not capturing it.
"Obsolesence is just a lack of imagination."
-
05-05-2003, 05:19 PM #8Web Hosting Master
- Join Date
- Sep 2002
- Posts
- 876
Mod rewrite could do it if you don't want to do it in PHP.