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 02-21-2003, 09:09 PM   #1
Jak
So Fucking Banned
 
Join Date: Apr 2002
Location: ripenedpeach.com
Posts: 1,143
Question for php experts...

I wrote a php redirection script that uses header("Location: $MyVariable"); to accomplish the redirect. I call the script from a link on a site like this:

http://www.sitewiththescript.com/redirect.php?url=http://www.redirecthere.com

I've just found out that this apparently won't pass the http referer info as coming from the site the script is at. Instead, it passes through the referer info from the site that called on the script. In other words, the referer headers are sent as coming from "sitethatcalledthescript.com" instead of "sitewiththescript.com"

How can I pass the referer as coming from the site the script is on?

Thanks.
Jak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2003, 09:26 PM   #2
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
Delay it long enough that it'll be less than transparent to the browser. Add some wait state time or some useless functions or something to slow it down.. Otherwise, run it all from the desired domain...
__________________
Free agent
jact is offline   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.