GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Passing referrer information through a meta refresh? (https://gfy.com/showthread.php?t=190848)

X37375787 10-28-2003 01:55 AM

Passing referrer information through a meta refresh?
 
Is that possible? Or will PHP do it?

I simply want the referrer info to be sent through a gateway to another page:

page1.html ----click----> blah.html ----meta----> page2.html

And I want the referring click from page1.html to be seen when the meta refreshes to page2.

Ideas? :helpme

ztik 10-28-2003 02:02 AM

ssi

johnbosh 10-28-2003 02:09 AM

Quote:

Originally posted by Equinox
Is that possible? Or will PHP do it?

I simply want the referrer info to be sent through a gateway to another page:

page1.html ----click----> blah.html ----meta----> page2.html

And I want the referring click from page1.html to be seen when the meta refreshes to page2.

Ideas? :helpme

Where do you need it for if I may ask

Theo 10-28-2003 02:12 AM

to cheat thehun

Stud Money 10-28-2003 02:22 AM

What kind of referrer information are you looking at passing through?

Is this for an affiliate type program or, for static pages that you have on your own server?

You could, if you are going to be hand coding the meta refreshes use a referal string such as http://www.domain.com/subdirectory/?page1 if that will work for your specific needs.

Otherwise you might want to hit a programmer up to see if they have any other solutions :2 cents:

X37375787 10-28-2003 07:43 AM

Quote:

Originally posted by johnbosh
Where do you need it for if I may ask

I want a page to send my clickthrus to from gallery traffic ~ but I don't want the referrer information to get lost (for the stats).


and yeah, to cheat the hun. fuck you soul. :321GFY :winkwink:

FATPad 10-28-2003 07:44 AM

You could always just track the referrers to your refresh page if it doesn't pass through.

X37375787 10-28-2003 11:54 AM

Quote:

Originally posted by FATPad
You could always just track the referrers to your refresh page if it doesn't pass through.
well, I wanna know where the sale came from... ya know.


anyone? p-leasssse! :helpme

MattO 10-28-2003 11:59 AM

if it was cold fusion I could do it...

if you can set a variable to your refer you should be able to pass it to the new url with a ?ref=refervariable on it I think

rowan 10-28-2003 12:04 PM

Quote:

Originally posted by Equinox



I want a page to send my clickthrus to from gallery traffic ~ but I don't want the referrer information to get lost (for the stats).

If the intermediate page is just a meta refresh (with no other content) then why not just do a 302 redirect? 99% of the time that will preserve the original URL as the referer.

X37375787 10-28-2003 12:12 PM

Quote:

Originally posted by rowan


If the intermediate page is just a meta refresh (with no other content) then why not just do a 302 redirect? 99% of the time that will preserve the original URL as the referer.


302 is what exactly?

X37375787 10-28-2003 12:12 PM

well there is some minor html on the page with the meta refresh...

JayJay 10-28-2003 12:15 PM

Quote:

Originally posted by Equinox



302 is what exactly?

Moved Temporarily
which normally reffers to a file which the server can not find but thinks it should find or a file not created by a script which is moved temporarily

rowan 10-28-2003 12:16 PM

302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

<?php
  header("HTTP/1.0 302 bounce");
  header("Location: http://www.someurl.com/");
?>

X37375787 10-28-2003 12:18 PM

Quote:

Originally posted by rowan
302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

<?php
  header("HTTP/1.0 302 bounce");
  header("Location: http://www.someurl.com/");
?>

THANKS!

Let me try this out.

X37375787 10-28-2003 12:24 PM

woohoo, it worked!

Thanks rowan. :thumbsup

X37375787 10-28-2003 12:26 PM

is there a way to time the 302 bounce?

JayJay 10-28-2003 12:27 PM

Quote:

Originally posted by rowan
302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

<?php
  header("HTTP/1.0 302 bounce");
  header("Location: http://www.someurl.com/");
?>

hmm and this redirects with the referrer intact
interesting

NetRodent 10-28-2003 12:28 PM

Quote:

Originally posted by JayJay


hmm and this redirects with the referrer intact
interesting

Depends on the browser.

X37375787 10-28-2003 12:28 PM

Quote:

Originally posted by JayJay


hmm and this redirects with the referrer intact
interesting


sure does ;-)


However, I still could not find a way to incorporate that redirect into an html file and delay it. The code above automatically bounces to the given url...

JayJay 10-28-2003 12:30 PM

Quote:

Originally posted by NetRodent


Depends on the browser.

IE?

X37375787 10-28-2003 12:47 PM

Quote:

Originally posted by JayJay

IE?


it seems like both IE and mozilla work fine with it.


All times are GMT -7. The time now is 08:34 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123