IPB

ISO Image Creator

Welcome Guest ( Log In | Register )

> php http_referer - Meta refresh, help please
Mackins
post Nov 15 2005, 01:11 PM
Post #1


Themer
Group Icon

Group: Members
Posts: 120
Joined: 17-March 05
From: England
Member No.: 29,841
 United Kingdom


I started working on the site system again in a long time and I updated the skinning system. The problem is that in Firefox it works but in IE it doesn't.

Heres whats going on. The skin system uses meta refresh to send the user back to the page they came from, but when refreshing in IE it sends the user to the same page, which makes a refreshing loop.

The code to refresh to the page the user came from using PHP's HTTP_REFERER:
CODE
<meta http-equiv='refresh' content='0; URL=<?php echo $_SERVER['HTTP_REFERER']; ?>">


Is there an alternate way to do it, or is there anything that I could do to work around it. The reason I want the users to go back to the page that they were on is because they might have been doing something at the time and is so much more convenient for them. So going back to the same page is vital.

-Mackins
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 11th February 2012 - 11:50 AM

  Page top

Webber Enhanced skin created by Im4eversmart of RuneHQ.

  Privacy Policy 1 2 3 4 5

IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here