noalyss Version-9
Variables
recover.php File Reference

Go to the source code of this file.

Variables

 $action =$http->request("id","string", "")
 
 $cn =new Database(0)
 
 $email_input =$http->request("email", "string","")
 
 $exist_request
 
 $http =new HttpInput()
 
if(count($exist_request)> 1) $mail =new Sendmail()
 
 $message =
 
 $noalyss_url =NOALYSS_URL
 
 $request_id =$http->request("req","string", "")
 
 $user_password =generate_random_password(10)
 
 $valid =false
 
 $value =$cn->get_value("select password from recover_pass where request=$1 and created_on > now() - interval '12 hours' and recover_on is null", array($request_id))
 
else __pad0__
 
else __pad1__
 
if(empty($exist_request)) else
 
 endif
 
const SIZE_REQUEST 70
 

Detailed Description

Parameters
type$nameDescriptionara

Definition in file recover.php.

Variable Documentation

◆ $action

$action =$http->request("id","string", "")

Definition at line 34 of file recover.php.

◆ $cn

$cn =new Database(0)

Definition at line 56 of file recover.php.

◆ $email_input

$email_input =$http->request("email", "string","")

Definition at line 55 of file recover.php.

◆ $exist_request

$exist_request
Initial value:
= $cn->get_array("select request , password from recover_pass
where use_id=$1 and created_on > now() - interval '12 hours'",[$user_id])
$cn
Definition: recover.php:56

Definition at line 82 of file recover.php.

◆ $http

$http =new HttpInput()

Definition at line 28 of file recover.php.

◆ $mail

if (count( $exist_request)> 1) $mail =new Sendmail()

Definition at line 100 of file recover.php.

◆ $message

$message =

Definition at line 105 of file recover.php.

◆ $noalyss_url

$noalyss_url =NOALYSS_URL

Definition at line 104 of file recover.php.

◆ $request_id

$request_id =$http->request("req","string", "")

Definition at line 134 of file recover.php.

◆ $user_password

$user_password =generate_random_password(10)

Definition at line 80 of file recover.php.

Referenced by Noalyss_User\connect_user().

◆ $valid

$valid =false

Definition at line 57 of file recover.php.

Referenced by Sendmail\verify().

◆ $value

$value =$cn->get_value("select password from recover_pass where request=$1 and created_on > now() - interval '12 hours' and recover_on is null", array($request_id))

Definition at line 138 of file recover.php.

◆ __pad0__

else __pad0__

Definition at line 65 of file recover.php.

◆ __pad1__

else __pad1__

Definition at line 149 of file recover.php.

◆ else

if (empty( $exist_request)) else
Initial value:
{
$exist_request
Definition: recover.php:82
$request_id
Definition: recover.php:134

Definition at line 88 of file recover.php.

◆ endif

endif

Definition at line 67 of file recover.php.

◆ SIZE_REQUEST

const SIZE_REQUEST 70

Definition at line 24 of file recover.php.