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 Mark Forums Read
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 08-30-2006, 02:12 PM   #51
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
Quote:
Originally Posted by CHMOD
There is something I am missing here...

If, in example, I am using Ixtractor to view my pics now. It will hotlink the pictures wherever they are... Now if the script changes the image folder name in, let's say 30 minutes... When someone will use Ixtractor in 35 minutes he will simply see hotlinked images from the new named folder won't he ?
No, check out that sample:

1 ixtractor parses that gallery http://www.teamnude.com/twistys511/al4a.html
2 grabs image links and creates that page in their system http://www.ixtractor.com/display335248.html
3. images are directly linked from host. like http://www.teamnude.com/twistys511/01.jpg

As you can see, they are hotlinking images not the page itself. So, in 35 minutes that folder (image) won't be there. Images will be broken unless they re-parse the gallery page to grab new image links. But those will be broken again after 30 mins..

I hope this helps...
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-30-2006, 02:20 PM   #52
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
Quote:
Originally Posted by Broda
This is the solution I would suggest.

All that nonsense about constantly renaming your folders, and redirecting non-ref-url traffic.. do any of you guys discussing this actually submit free sites or galleries? jeeez....
It is not actually renaming folders, just creates a symbolic link to it and changes that link over time.

Regarding MySQL solution, do you know what would happen under heavy load? Apache executes php which connects to MySql to grab binary data for every single image? I wouldn't submit that to the hun
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-30-2006, 02:27 PM   #53
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by borked
...sorry for the japanese, but this will solve any of those problems

Code:
<img src="/display.php?id=34" border="0">

then

Code:
<?

$connection=@mysql_connect(...);

@mysql_select_db(...);

$query="SELECT mime, file FROM images WHERE id=".$_GET["id"];

$rawdb=@mysql_query ($query,$connection);

if($rawdb AND @mysql_num_rows($rawdb)>0){

  $array=@ mysql_fetch_array($result);

  if (!empty($array["fileContents"])){

    // Output the MIME header

    header("Content-Type: ".$array["mime"]}");

    // Output the image

    echo $array["file"];

  }else{

    // something else...

  }

  @mysql_free_result($rawdb);

}else{

  // something else...

}

@mysql_close($connection);

?>
I looked at this a few times and all I can see is code to send the contents of an image from a mysql db. Where's the hotlink protection?
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-30-2006, 03:05 PM   #54
Boss Traffic Jim
Confirmed User
 
Join Date: Nov 2002
Location: USA
Posts: 1,150
Any 1/2 way decent host should solve this for you If yours can't or won't then I would say it's time to move..
Boss Traffic Jim is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-30-2006, 03:10 PM   #55
Broda
Confirmed User
 
Join Date: Feb 2003
Location: CheapAssDesigns.com
Posts: 1,874
Quote:
Originally Posted by Arty
It is not actually renaming folders, just creates a symbolic link to it and changes that link over time.

Regarding MySQL solution, do you know what would happen under heavy load? Apache executes php which connects to MySql to grab binary data for every single image? I wouldn't submit that to the hun
Yeah I know what would happen. But there are other ways to do it. The technique itself is a viable solution. Just not using mysql

And I definitely would not submit a gallery that changes one little bit to thehun either. Wouldn't be much point in that since it would be removed from the list within 30 minutes.
Unless you mean something really clever with a symbolic link, no matter what, to make it effective, there would have to be some change to the gallery/pic page.

Not looking to start a discussion... each to his own
__________________
CheapAssDesigns.com - when you need quality designs at affordable prices.
icq: 230-729-205
info |at| cheap ass designs dot com
Broda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-30-2006, 11:22 PM   #56
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by rowan
I looked at this a few times and all I can see is code to send the contents of an image from a mysql db. Where's the hotlink protection?
I was thinking more along the lines of using sessions to make the call. But as pointed out, browsers set to not accept cookies by default would get locked out.

Then I thought of the javascript solution below. You could maybe only implement the javascript if there was no referer value, that way not locking out those that have javascript turned off...unless you have javascript off and referer set to zero, but then in that case scenario, you're prolly up to no good anyways....

Quote:
Originally Posted by borked
Code:
<script language=javascript>
//Beginning of "test.js" file
var accepted_domains=new Array("yourdomain.com","www.yourdomain.com")

var domaincheck=document.location.href //retrieve the current URL of user browser
var accepted_ok=false //set acess to false by default

if (domaincheck.indexOf("http")!=-1){ //if this is a http request
for (r=0;r<accepted_domains.length;r++){
if (domaincheck.indexOf(accepted_domains[r])!=-1){ //if a match is found
accepted_ok=true //set access to true, and break out of loop
break
}
}
}
else
accepted_ok=true

if (!accepted_ok){
alert("Fuck off linking to my images!!")
history.back(-1)
}

</script>
<img src="image123.jpg">
__________________

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 08-30-2006, 11:48 PM   #57
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
Split had it above .Just drop the fucking route people, its NOT rocket science.
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-31-2006, 12:44 AM   #58
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
I love all the "it's not rocket science..." comments, who don't realize what they're saying.. or how simple it is to get around.
__________________
Brujah 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
Thread Tools



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.