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 03-25-2009, 11:06 AM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
:stop (Biz Thread) Double Meta refresh to blank the referrer....

twinks lmk if this is a good way


First make the file bla.php


Code:
<?php
echo "<meta http-equiv=\"refresh\" content=\"0;
url=http://www.cockmeat.com/bla2.php\">";
?>
Then bla2.php
Code:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://
www.affiliatelinkinhere.com/\">";

}
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://
www.cockmeat.com\">";
}
?>







--Im beautiful
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 11:07 AM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
please no cockmeat jokes lmk if this is a good way
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 11:08 AM   #3
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
whole lotta cockmeat in that code
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 11:10 AM   #4
Iron Fist
Too lazy to set a custom title
 
Join Date: Dec 2006
Posts: 23,400
why not do this through .htaccess?
__________________
i like waffles
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 01:49 PM   #5
420
cuck
 
420's Avatar
 
Industry Role:
Join Date: Mar 2003
Posts: 11,571
I will give you $2k for cockmeat.com.
__________________
<!--BEGIN SIMUTRONICS PLAY BUTTON CODE -->
<p align="center">

<a href="http://buddy.play.net/dr?TMOREAU1">

<img src="drplay.gif" width="128" height="64" alt="Play DragonRealms!"></a></p>

<!--END SIMUTRONICS PLAY BUTTON CODE -->
420 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 02:02 PM   #6
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
look, just cos the tool that wrote the referrer section for apache couldn't spel, and PHP followed his spelling mistake to make things consistent (eh, wtf???), doesn't mean you have to make your var named $referer and not $referrer

/rant
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 02:14 PM   #7
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Some versions of IE (6 I think) ignore a meta refresh time of 0.

You can also use javascript to do the redirect.

If you need this to block the referer 100.0% of the time then I don't think it's going to work, sooner or later a browser is going to leak something... I've seen weird behaviour before where a hit goes through my system as noref, is 302'd to another of my sites, and there it suddenly presents a referer again...
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 02:44 PM   #8
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
head over to bhw and grab a script from there
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2009, 03:06 PM   #9
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
I think the htaccess idea is better and a faster redirect.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy 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.