I want to allow hotlinking only from a list of referrers (paying customers, probably a few hundred).
I am on Apache 1.3 and I do not have access to the configuration (only .htaccess).
What is the fastest way to implement this?
My thoughts so far:
PHP with database and readfile()
(SSI with) Perl and database
the list implemented as s...
Dear all,
I would like to ask for how to redirect to previous page (ajax paging).
Example,
Let's say currently I am in page 5, then I click on one record, after I edit it, I would like to go back to that page 5 not page 1.
The problem is my paging is using ajax,
http://domain/photo/#5
I try to use $_SERVER[http_referer], but I only ...
How to find out the Referers host?
My Problem is, i wont to check, is user from google adwords or organic search... so i checking refferer, but the refferer ist allways google organix search... if some one have a be´tter idea :) tell it.
But I found out, that the HOst is a speacial one! So now I wont to check for Host of the Refferes s...
Why $_SERVER['HTTP_REFERER'] (PHP) and Request.ServerVariables("HTTP_REFERER") (ASP) return different result if query string has non english characters?
php return correct value but asp will not:
php: сабака
asp: ׁ׀°׀±׀°׀÷׀°
...
Hi all,
I want to know is there any option/work sround for $_SERVER['HTTP_REFERER']. Because 'HTTP_REFERER' can not be trusted.
Then What is other way to know that from which url the request has came from?.
Here is the situation -
http:// abc.com/one.htmlwill have an iframe having src=http:// xyz.com/giv.php?param=1.
How giv.php on xy...
I can't seem to get a page to load with scrubyt and I think its because the page I am navigating to checks the referer. Is it possible to set the referer on the fetch action?
...
Hey guys, I'm struggling with grabbing an image at the moment... sounds silly, but check out this link :P
http://manga.justcarl.co.uk/A/Oishii_Kankei/31/1
If you get the image URL, the image loads. Go back, it looks like it's working fine, but that's just the browser loading up the cached image.
The application was working fine before...
I am trying to redirect visitors to a site based on their referring url.
Here is the script:
php
$domain='blankds.com';
$referrer=$_SERVER['HTTP_REFERER'];
echo $referrer;
if (preg_match("/$domain/",$referrer)) {
header('Location: http://www.blackisgreen.org/page_1.php');
} else {
header('Location: http://www.blackisgreen.org/page_...
I have the following problem: I use a script that saves the referer URL. I want this URL to one of my own URLs. So let's say a users access the page http://example.com/page1 I want to rewrite that URL to http://example.com/page2 and safe the referer on that page.
I don't want to do that with a PHP script as otherwise I would have to ext...
I don't understand: how are webserver and trackers like Google Analytics able to track referrals?
Is it part of HTTP?
Is it some (un)specified behavior of the browsers?
Apparently every time you click on a link on a web page, the original web page is passed along the request.
What is the exact mechanism behind that? Is it specified b...
Hello,
I find it hard to believe no free software library exists that get's as input a HTTP Referrer string and outputs meaningful information.
The parsing job here is large and I'm pretty sure no single one can do it "really good" :).
We need the community patches combined for quality detection.
So, getting back to the subject - Are...
HI,
I have a specific requirement, when a user searches in google.com which returns me a list of results and one of the results is my website but it is pointing to a different page.
I need help in 2 places,
Client is planing to enhance my website so that what ever link of my website appears in google results should show as cars.com/s...
So, in my .htaccess file I have this ErrorDocument lines:
ErrorDocument 500 http://www.example.com/500
Since my server runs multiple websites from the same core files, I just want to redirect all internal server errors to the same processing page. However, my problem is that it doesn't send any information about the page that cause th...
Hi,
I'm trying to create a splash page effect on a site I'm working on (I know splash pages are bad etc but I have my reasons), and basically I want to call the script that runs the splash image overlay only if the visitor is coming to the index from an external website. That way if a visitor clicks "home" from an internal page the splas...
I have mp3 files on my server that I want to be accessed via a flash player on my site. Is it possible to use http_refer to do this as suggested by a close colleage?
Based on my research, I kept coming across the code below but that blocks everything including my flash player. How do I only allow my flash player to access the files wit...
Hi everybody,
actually I'm trying to pass referers inside the .htaccess. What I'm trying to do is that the referer value shall be send to a PHP script where this value will be saved to a databse. In some cases (depending on the referer) the image shall be blocked (hot linking) and in some other cases the image shall be shown normally. B...
We are signing up to an online resource that uses http-referer as authentication (bad idea, I know) to prove that the request comes from our intranet (IP address is not available for this as there is a higher level proxy).
Unfortunately it might be that their system requires a specific referer URL rather than taking the domain. This wil...
If you click on a result in Google Instant, the referer sent by your browser to the destination website contains a bunch of parameters, including the all important q=[autocompleted query]
But you're coming from a page whose URL is simply http://www.google.com/ with a bunch of stuff after the # character, i.e. as an on-page anchor.
So t...
I feel like i've done this a ton of times, but i can't for the life of me figure out what is going wrong.
Default.aspx:
protected void Page_Load(object sender, EventArgs e)
{
var r1 = Request.UrlReferrer; // null
var r2 = Request.ServerVariables["HTTP_REFERRER"]; // null
}
SingleSignOn.aspx:
protected void Page_Load(object sen...
I'm going to develop a website in PHP. But not sure if the method i'm going to use is the best approach. There will be many addon domains for the same site. But content will be filtered based on the domain used to visit the site.
For Example If a user comes from the domain siteusa.com then the content will be shown filtered accordingly ...