![]() |
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 |
ssi
|
Quote:
|
to cheat thehun
|
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: |
Quote:
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: |
You could always just track the referrers to your refresh page if it doesn't pass through.
|
Quote:
anyone? p-leasssse! :helpme |
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 |
Quote:
|
Quote:
302 is what exactly? |
well there is some minor html on the page with the meta refresh...
|
Quote:
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 |
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/"); ?> |
Quote:
Let me try this out. |
woohoo, it worked!
Thanks rowan. :thumbsup |
is there a way to time the 302 bounce?
|
Quote:
interesting |
Quote:
|
Quote:
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... |
Quote:
|
Quote:
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