Topic: Running the script in safe mode (Read 1141 times)
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 8272
42619 credits Members referred : 3
« on: Sep 28, 2005, 05:03:31 PM »
Today I've got an email from a friend that can't use the script in safe mode. I will work it out later, but here is a quick solution to this problem.
Bellow is the code that you should enter in a php file and execute it. After the execution completes you should edit your .htaccess file and insert the directives that the script will produce.
Here is the code :
Code:
<?php <html> <body bgcolor=#ffffff> <? /* ############################################ # # # aStatSpam v 0.94 # # # # This program is distributed free # # HumanWorks is not responsible for # # this program. Use it on your own risk # # # # How To Use it : # # Just put this script in a folder of your # # site, and then execute it from a browser # # eg http://mysite.com/astatspam/setup.php # # You should repeat this process once per # # week # # # # For more information visit our website # # http://www.thetopsites.net/referer_spam/ # # # # If you have any proposals please give as # # a line at np@humanworks.gr but please do # # not send inquiries about installing and # # using the script unless you can not find # # an answer in the site # # # ############################################ */
//Configuration Variables : //Propably you should not change anything here in order to work
$ht_file = ".htaccess"; //The name of the htaccess file $ht_path = $_SERVER["DOCUMENT_ROOT"]; //The path to the .htaccess file
$custom_spammers = array();//You can use this array to add custom domains to be added in your site. // eg. $custom_spammers = array("domain1.com", "domain2.net");