icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old April 13th, 2005, 7:28 PM   #10 (permalink)
L'Awesome Advocate
Super #1
 
Ancyru's Avatar
 
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
You can now.

[=
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
Ancyru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 13th, 2005, 7:28 PM   #11 (permalink)
ceo
Senior Member
Super #1
 
Joined in Jan 2005
1,546 posts
Gave thanks: 70
Thanked 33 times
You just did.
ceo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 13th, 2005, 7:43 PM   #12 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
haha, crap. How did I mess that one up?
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 14th, 2005, 5:37 AM   #13 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2004
Hosted on Dedicated
12 posts
Gave thanks: 0
Thanked 0 times
Thanks for the replies everyone!

Unfortunately, this went right over my head and I don't know what to do. Sorry
Karrie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 14th, 2005, 10:56 AM   #14 (permalink)
Surpass Fan
On a golden path...
 
Joined in Nov 2004
Lives in San Francisco
364 posts
Gave thanks: 0
Thanked 3 times
Did you write your download.php script? If so, open it up and put this in the file:

PHP Code:
<?php
if( isset( $_SERVER['HTTP_REFERER'] ) &&
            !
strpos$_SERVER['HTTP_REFERER'] , $_SERVER['HTTP_HOST'] ) ){
    die(
'leecher!');
} else{
    
// Current contents of download.php, in their entirety
}
?>
Where it says // Current contents of download.php, in their entirety, replace that comment with all of the code currently in the download.php file. This way if someone gets to the download script without being refered by a page on your site, they will be refused access.
ghostcop is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 14th, 2005, 11:05 AM   #15 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
well, all of it except the <?(php)?...?> tags
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On