Source for file example_3.php
Documentation is available at example_3.php
* File containing example 3(check referer) use DefensiveAttack.
* @package DefensiveAttack
* @copyright Copyright (C)2006 TheLordOfWeb. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
//require("class.php4.DefensiveAttack.php");
require
("class.php5.DefensiveAttack.php");
//Check referer if I do not want direct access to my site
if (false ===
$def_attack->CheckReferer()) {
print
"Access deny " .
'<a href="example_3.php" >Use link</a>';
Documentation generated on Tue, 31 Oct 2006 23:59:59 +0200 by phpDocumentor 1.3.1