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 08-17-2008, 12:51 PM   #1
pornguy292
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!
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 12:55 PM   #2
Eriic
So Fucking Banned
 
Join Date: Jan 2008
Posts: 2,995
www.hotscripts.com for $725.00
Eriic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:00 PM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:15 PM   #4
pornguy292
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.
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:17 PM   #5
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:32 PM   #6
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:40 PM   #7
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,386
Better to do this with .htaccess
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:49 PM   #8
pornguy292
Registered User
 
Join Date: Feb 2008
Posts: 82
Quote:
Originally Posted by cyberxxx View Post
Better to do this with .htaccess

I already talked to my tech support and they said it could not be done by htaccess.
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:51 PM   #9
pornguy292
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."
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 01:56 PM   #10
pornguy292
Registered User
 
Join Date: Feb 2008
Posts: 82
Quote:
Originally Posted by k0nr4d View Post
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.

what is that supposed to do? I added it to the page but it's not doing anything
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 05:29 PM   #11
pornguy292
Registered User
 
Join Date: Feb 2008
Posts: 82
anyone? please
pornguy292 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2008, 06:33 PM   #12
SkeetSkeet
Confirmed User
 
SkeetSkeet's Avatar
 
Join Date: Oct 2005
Location: StarlightBucks !
Posts: 5,404
hit up strongbox, they can set this up for you tell um skeet sent you he will treat you nice
__________________

ICQ 283633188
SkeetSkeet 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.