![]() |
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! |
www.hotscripts.com for $725.00
|
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. |
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. |
You don't even need a script. Assuming you are on a *nix server you can use .htaccess to handle that.
|
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. |
Better to do this with .htaccess :2 cents:
|
Quote:
I already talked to my tech support and they said it could not be done by htaccess. |
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." |
Quote:
what is that supposed to do? I added it to the page but it's not doing anything |
anyone? please :)
|
hit up strongbox, they can set this up for you :) tell um skeet sent you :) he will treat you nice :)
|
All times are GMT -7. The time now is 12:44 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123