Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
authent.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Functions

 authenticate ()
 

Variables

global $_SERVER
 
global $_POST
 
 $target = GetHttpVars("url", "/freedom/index.php?sole=R")
 
if(!isset($_SERVER['PHP_AUTH_USER'])||($_POST["SeenBefore"]==1
&&!strcmp($_POST["OldAuth"],
$_SERVER['PHP_AUTH_USER']))) 
else
 
 exit
 

Function Documentation

authenticate ( )

Send a 401 Unauthorized HTTP header

Deprecated:
use logout action instead

Definition at line 25 of file authent.php.

Variable Documentation

global $_POST

Definition at line 43 of file authent.php.

global $_SERVER

Definition at line 42 of file authent.php.

$target = GetHttpVars("url", "/freedom/index.php?sole=R")

Definition at line 45 of file authent.php.

if (!isset($_SERVER['PHP_AUTH_USER'])||($_POST["SeenBefore"]==1 &&!strcmp($_POST["OldAuth"], $_SERVER['PHP_AUTH_USER']))) else
Initial value:
{
Header("Location: $target")

Definition at line 50 of file authent.php.

exit

Definition at line 52 of file authent.php.

← centre documentaire © anakeen - published under CC License - Dynacase