473,320 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Getting Referral URL from I.E.

40
Hi all, quick question:

$site = $_SERVER['HTTP_REFERER'];

Works great from Firefox. Doesn't work in Internet Explorer.

Anyone have a way to grab the referral url from someone using Internet Explorer? Php or Java, I'm not sure which.

Thanks!
Oct 16 '07 #1
2 2473
ronverdonk
4,258 Expert 4TB
Are you sure that is the probem (IE vs. FF)?

Anyway the HTTP_REFERRER cannot be relied on because a server administrator can prevent its usage by not setting it.

'HTTP_REFERER'
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
Ronald
Oct 16 '07 #2
vozzek
40
Yes, I'm certain the problem is IE. I've got a "send to friend" mail script working just fine from Firefox, but the variable for the referral url isn't getting set when I run the page from internet explorer.

If the method I listed above can't be trusted, is there a better way that you recommend? Thanks for the reply.
Oct 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: revjjjames | last post by:
Hello, Is there such a way to echo the URL someone typed on the screen? So, if www.someserver.com/something/somefile.php was accessed and because of .htaccess permissions re-routed the user...
1
by: COVAD | last post by:
To Whom It May Concern: Good morning. I am Seann P. Courtney with Covad Communications and the reason that I am contacting you is because I am looking for a referral partner to do some business...
0
by: Mark | last post by:
Hi, I have a client who needs a semi-dedicated hosting presence. Specifically, ASP.NET 1.1 and SQL server 2000 (Access via enterprise manager). I would also like a referral plan so I get a % of...
1
by: george | last post by:
How to do debug in visual studio a connection that comes in from a url referral? I cannot get visual studio to "boot" on the referral. IIS just runs the ASP directly.
1
by: eatkins | last post by:
Hi All- I have a great full time, permanent opportunity with a client of mine in Jersey City, NJ. They are looking for a mid-senior level Java Developer with the following skills: minimum 4...
1
by: leeanngriego | last post by:
I have a client who has asked me to find him some solid up and coming embedded engineers. 2 to 3 years expereince with Embedded Linux, VxWorks, Nucleus or any other RTOS who has working in L2/L3...
0
by: Glenn | last post by:
Hi All: I have written an Users Registration system that is working just fine when I point to an Active Directory running within a local VMWare instance. It's a very basic AD schema. But, when...
7
by: vunet.us | last post by:
Can I get the name of a referral page using JavaScript? Just really wondering...
8
by: widevision7 | last post by:
I have a web site where people are directed via links from 12 different web sites. For example, if the user was on www.chevy.com, and they clicked on a link to win a trip to an awards show, they...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.