Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-28-2003, 01:55 AM   #1
X37375787
Guest
 
Posts: n/a
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?
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 02:02 AM   #2
ztik
Confirmed User
 
ztik's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
ssi
__________________
.
ztik is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 02:09 AM   #3
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
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?
Where do you need it for if I may ask
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 02:12 AM   #4
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
to cheat thehun
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 02:22 AM   #5
Stud Money
So Fucking Banned
 
Join Date: Sep 2003
Location: Somewhere between my monitor and my chair
Posts: 3,214
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
Stud Money is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 07:43 AM   #6
X37375787
Guest
 
Posts: n/a
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.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 07:44 AM   #7
FATPad
Confirmed User
 
Join Date: Oct 2001
Posts: 6,693
You could always just track the referrers to your refresh page if it doesn't pass through.
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a>
FATPad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 11:54 AM   #8
X37375787
Guest
 
Posts: n/a
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!
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 11:59 AM   #9
MattO
The O is for Oohhh
 
Join Date: Feb 2003
Location: AUSTIN TEJAS
Posts: 10,861
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

Last edited by MattO; 10-28-2003 at 12:02 PM..
MattO is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:04 PM   #10
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
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.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:12 PM   #11
X37375787
Guest
 
Posts: n/a
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?
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:12 PM   #12
X37375787
Guest
 
Posts: n/a
well there is some minor html on the page with the meta refresh...
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:15 PM   #13
JayJay
Confirmed User
 
Join Date: Jun 2002
Posts: 3,739
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
JayJay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:16 PM   #14
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

&lt;?php
&nbsp; header("HTTP/1.0 302 bounce");
&nbsp; header("Location: http://www.someurl.com/");
?&gt;
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:18 PM   #15
X37375787
Guest
 
Posts: n/a
Quote:
Originally posted by rowan
302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

&lt;?php
&nbsp; header("HTTP/1.0 302 bounce");
&nbsp; header("Location: http://www.someurl.com/");
?&gt;
THANKS!

Let me try this out.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:24 PM   #16
X37375787
Guest
 
Posts: n/a
woohoo, it worked!

Thanks rowan.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:26 PM   #17
X37375787
Guest
 
Posts: n/a
is there a way to time the 302 bounce?
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:27 PM   #18
JayJay
Confirmed User
 
Join Date: Jun 2002
Posts: 3,739
Quote:
Originally posted by rowan
302 is the HTML code for temporary redirect. This PHP code will immediately redirect to www.someurl.com:

&lt;?php
&nbsp; header("HTTP/1.0 302 bounce");
&nbsp; header("Location: http://www.someurl.com/");
?&gt;
hmm and this redirects with the referrer intact
interesting
JayJay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:28 PM   #19
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
Quote:
Originally posted by JayJay


hmm and this redirects with the referrer intact
interesting
Depends on the browser.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:28 PM   #20
X37375787
Guest
 
Posts: n/a
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...
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:30 PM   #21
JayJay
Confirmed User
 
Join Date: Jun 2002
Posts: 3,739
Quote:
Originally posted by NetRodent


Depends on the browser.
IE?
JayJay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-28-2003, 12:47 PM   #22
X37375787
Guest
 
Posts: n/a
Quote:
Originally posted by JayJay

IE?

it seems like both IE and mozilla work fine with it.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.