|
Hi, would you like to help
us? We are testing our new script - Ask Me (FAQ script) - and if you have any question about scripts you can post it HERE.
My_REFERER
v.1.08
My_REFERER is simple
PHP script for checking access to favorite web pages (login, contact,
etc.).
Copyright (C) 2005
Wangchuk Sonam
My_REFERER is free software; you can redistribute it and/or modify it
under the terms of the GNU General
Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
My_REFERER is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
For newer version
check
http://www.phoenix.frihost.net/referer/readme.php
Features:
1.
Unlimited number of checked pages
2. Script definition with your own numbers
3. Checked page name is hidden behind login.php
Installation:
Extract My_REFERER.zip
in root folder.
In a new subfolder
"myreferer" find four files: login.php, referer.php, Read_me.htm and GNU
License.
Customization:
It
is necessary to customize My_REFERER,
your link page and the page that will be checked!
My_REFERER
customization:
Open referer.php and type three numbers for $ses1, $ses2 and $ses3.
Open login.php and type the same numbers for $ses1, $ses2 and $ses3
and two new numbers for $ses4 and $ses5.
In line 31 find and type redirect
for errors.
In lines 67,68,69... find "Array" and type pages you
want checked.
Link
page customization:
On the very top of your code link page insert the code below...
<?php
include("myreferer/referer.php");
?>
...and somewhere on
your page insert the matching html link...
<a href="myreferer/login.php?login=0">PAGE NAME</a>
...or matching PHP
link...
<?php
echo "<a href='myreferer/login.php?login=0'>PAGE NAME</a>";
?>
..."login=0"
is your first page chosen in "Array", "login=1" is
second, 2 is third, etc.
Checked
page customization:
Insert the code below on the very top of your checked page...
<?php
//additional check
if ($_SESSION == "" || $_SESSION['last'] - $ses5 != $_SESSION['referer']
- $_SESSION['key'] || $sesyyy - ($ses4+$ses5) != $sesxxx) {
$_SESSION = array();
session_destroy();
header("Location:../index.php"); // type here error redirect
exit;
}else {
$_SESSION = array();
session_destroy();
}
?>
...and youre
done.
NOTE:
For security reasons don't put the above script in a separate file.
Thats
all, folks. Have fun!
My_REFERER v.1.08 is packed in My_REFERER.zip file (12Kb)
Download now
750 people have downloaded this script
If you use My_REFERER
and would like to help us please rate it, place a link to us on your website
or refer to us in one of good webmaster's forum. Thank you!
Other scripts:
One-page Gallery is a simple image gallery, which show your images with a JPG, GIF or PNG extension. One-page Gallery need only one page on your site, do all stuff dynamically in fly without data bases or thumbs. One-page Gallery is fully customized.
Linkspider allows other webmasters to trade link with your site, check if your link exist on their site and is it your link hidden somewhere in script, comment, etc.
Butterfly online visitor counter is simple PHP script for counting online visitors on your site.
Fisherman's Slide Show is PHP script that resizes and displays your images with JPG, GIF or PNG extension from chosen directory. It is nice and simple way to create presentations or image gallery on your site.
Chameleon PHP script shows randomly, or in dependent on user's local time, different background images or colors.
Hercules Image Rotator is a PHP script, which rotates your images/banners with a JPG (JPEG), GIF, or PNG extension from any location.
Multi_Download_Counter is PHP script for counting different downloaded items.
Multi_Hit_Counter is PHP script for counting all visitors on different pages.
Please contact us
only about possible bug reports, comments or suggestions!
Home | Contact Us | Partners
|