Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 31st, 2005, 05:56 AM
Registered User
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with referers and IE

I'm running a service from my page (partners.mydomain.com) in an iframe on a partners site (www.partner.com). When the user clicks a link in the iframe on the hosting server, they open a php script on my server (www.mydomain.com/redirect.php?args=vals) that redirects to a third site (www.thirdparty.com). The redirecting script logs clicks to a database. The www.thirdparty.com site needs to know the referer of the visitor to work correctly

When I go through this process in firefox the page and referer shows up correctly in my db log: the page is the redirecting script (www.mydomain.com/redirect.php) and the referer is the "iframe-page" (partners.mydomain.com).

HOWEVER, when I do the same in Internet Explorer the referer shows up as NULL, which basically brakes the functionality in the thirdparty site. Does anyone know how I can repair IE's broken referer functionality? (Or am I doing something wrong...?)

I have some links on my own site as well, www.mydomain.com that uses the same redirect-script. When clicking links here, both page and referer shows up valid in both my db log and the thirdparty site.

Any ideas anyone?






Similar Threads
Thread Thread Starter Forum Replies Last Post
If Else Trouble Cibressus Beginning PHP 0 May 1st, 2007 02:04 PM
SQL Trouble mrideout BOOK: Beginning ASP.NET 1.0 1 September 30th, 2004 12:24 PM
Please i have had a Trouble hurted Wrox Book Feedback 1 June 28th, 2004 02:18 AM
trouble databass Classic ASP Databases 2 August 16th, 2003 10:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.