PDA

View Full Version : is it possible ??


Mecho
07-12-2007, 05:51 PM
Hi ,

i want to know is there anyway that we can have a code that if someone comes for example from vb.com to my site see something and if someone comes from vb.org Doesnt !

is it possible ?

cyberphr
07-12-2007, 06:44 PM
Yes, it would be done something like this...

if ($_SERVER['HTTP_REFERER'] == "vbulletin.com")
{
echo "something for vb.com referrals to see here";
}

Mecho
07-13-2007, 09:21 AM
Thanks Cyber but would u plz tell me where i have to put that code ? and is it possible that u tell me what is the code if i want that for example vb.org's REFERER can not see something ..

Attilitus
07-13-2007, 09:26 AM
Your running a warez site...

I can't imagine what content you would like to prevent vbulletin.org referrers from seeing </sarcasm>

I am usually not a snitch about these kinds of things... but you are just asking for it posting it out here in the open. Using vbulletin for Warez forums is a violation of your license agreement.

sunilvarma
07-13-2007, 09:36 AM
I can't imagine what content you would like to prevent vbulletin.org referrers from seeing

maybe a nulled version of vB!! :sarcasm:

Attilitus
07-13-2007, 09:37 AM
Oh no... that couldn't possibly be it. :)

By the way, $_SERVER['HTTP_REFERER'] will be empty if the person coming to your site simply refreshes the page... so it won't do you all that much good unless you add their IP address to the database and then continue to use that database entry to filter content.

Mecho
07-13-2007, 09:55 AM
i just said For Example these sites ! i have popup in my site that when ppl comes from one site from my country i dont like that they see that popup ! it doesnt matter that they refresh and ... i dont want that they see that popup at the Start . so that would be great if u give me a code that if someone comes from that site doesn't see that popup .

thanks