![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Feb 2008
Posts: 82
|
script needed to make a paysite plugin, cant find one
Hello,
Where can I find a script to make a paysite plugin, I just want to have something that will block all access to an html page, unless its in an approved URL list. im sure theres scripts that will do this, but I cant find one online. anyone have links to any? Thanks! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Jan 2008
Posts: 2,995
|
www.hotscripts.com for $725.00
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
|
do you JUST need it to block access to the html page? or block access to the files as well as tracking bandwidth used?
If its just blocking file and html access, i can whip that up in about 2 hours for you.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Registered User
Join Date: Feb 2008
Posts: 82
|
nothing fancy, just a way to control who is able to view an html page.
example.. site.com/mypage.html would be blocked for everyone trying to link to it, unless it's added to an approved domain or URL list. say google.com was linking to site.com/mypage.html and I did not have them in the approved URL list, they would just get access denied, or maybe redirected to the URL of my choice. actually I don't even care if bookmarkers can access it, just don't want a bunch of sites linking to it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
You don't even need a script. Assuming you are on a *nix server you can use .htaccess to handle that.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
|
If you ujst want to block the html page, then you could do
<?php $array[] = 'http://www.site1.com'; $array[] = 'http://www.site2.com'; if(!in_array($_SERVER[HTTP_REFERER],$array)) { exit(); } ?> This could of course but done more compactly code-wise but that should get you started.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,386
|
Better to do this with .htaccess
![]()
__________________
Obey the Cowgod |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Feb 2008
Posts: 82
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Registered User
Join Date: Feb 2008
Posts: 82
|
this was the last reply from them.
"I think that it is impossible to protect the page through htaccess if you dont know all ip clients. You should ask php programmers to develop some php script for it." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Registered User
Join Date: Feb 2008
Posts: 82
|
Quote:
what is that supposed to do? I added it to the page but it's not doing anything |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Join Date: Feb 2008
Posts: 82
|
anyone? please
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Oct 2005
Location: StarlightBucks !
Posts: 5,404
|
hit up strongbox, they can set this up for you
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |