Cross-site cookie reporting in php, please refer to the legal disclaimer. please refer to the competent authority for instructions. please refer to the competent authority for instructions. € phpphpcookie €? Please refer to the following link for more information: ookies has always been used to help users slide over and over again. php has been used to handle cross-site cookie attacks. why should they give them a license? /H2>
Please refer to the following link for more information: ookies was just a few clicks on the top of the page to help you slide the pages.? /P>
In php, there are just a few experts who have been awarded a fair number of legal experts, including the zookeeper and zookeeper which have been used to distinguish between zookeeper and ession, cookies cannot exceed limit? /P>
Why is it true? /Strong>
G networksWhen g then when else:
// Why?
Function checklogin (){
If (empty ($ _ SESSION ['User _ info']) {// why is it negative? Nbsp;
If (empty ($ _ COOKIE ['username']) | empty ($ _ COOKIE ['password']) {// Please refer to the following link for more information? Nbsp;
Header ("location: login. php? Req_url = ". $ _ SERVER ['request _ URI ']); // Please refer to the following example:? Nbsp;
} Else {// Please refer to the following link for more information: how can this problem be solved? Nbsp;
$ User = getUserInfo ($ _ COOKIE ['username'], $ _ COOKIE ['password']); // ㄦ? Nbsp;
If (empty ($ user) {// Zookeeper without prior Prior written into the computer Doctor's board of directors.
Header ("location: login. php? Req_url = ". $ _ SERVER ['request _ URI ']);
} Else {
$ _ SESSION ['User _ info'] = $ user; // zookeeper visit zookeeper.
}
}
}
}
When the system is connected, the system is immediately connected to the system.
G networksWhen g then when else:
Username = trim ($ _ POST ['username']);
$ Password = md5 (trim ($ _ POST ['password']);
$ Validatecode = $ _ POST ['validatecode'];
$ Ref_url = $ _ GET ['req _ url'];
$ Remember = $ _ POST ['remember'];
$ Err_msg = '';
If ($ validatecode! = $ _ SESSION ['checksum']) {
$ Err_msg = "Nan has been running successfully before G '";
} Elseif ($ username = ''| $ password = ''){
$ Err_msg = "why ?;
} Else {
$ Row = getUserInfo ($ username, $ password );
If (empty ($ row )){
$ Err_msg = "too many attempts have been made to quit running G '";
} Else {
$ _ SESSION ['User _ info'] = $ row;
If (! Empty ($ remember )) {// zookeeper and zookeeper too many threads have been written into ookie too many threads
Setcookie ("username", $ username, time () + 3600*24*365 );
Setcookie ("password", $ password, time () + 3600*24*365 );
}
If (strpos ($ ref_url, "login. php") === false ){
Header ("location:". $ ref_url );
} Else {
Header ("location: main_user.php ");
}
}
}
A small amount of data is being processed. why? /Strong>
G networksWhen g then when else:
// Why?
Function logout (){
Unset ($ _ SESSION ['User _ info']);
If (! Empty ($ _ COOKIE ['username']) |! Empty ($ _ COOKIE ['password']) {
Setcookie ("username", null, time ()-3600*24*365 );
Setcookie ("password", null, time ()-3600*24*365 );
}
}
There are too many reasons why there are too many reasons why
G networksWhen g then when else:
<?
// COOKIE? Br/> if ($ _ COOKIE ['uname']! = '') {$ CKUNAME = $ _ COOKIE ['uname'];}
If ($ _ COOKIE ['pwd']! = '') {$ CKPWD = $ _ COOKIE ['pwd'];}
Echo $ CKUNAME;
Echo'
';
Echo $ CKPWD;
?>
<?
// *******************Ookie
If ($ _ POST ['click']! = ''){
$ Uname = $ _ POST ['uname'];
$ Pwd = $ _ POST ['pwd'];
// Why? Br/> if ($ pwd! = $ CKPWD) {$ pwd = md5 ($ pwd );}
$ Remember = $ _ POST ['remember'];
If ($ remember = 1 ){
Setcookie ("uname", $ uname, time () + 3600*24*30 );
Setcookie ("pwd", $ pwd, time () + 3600*24*30 );
}
}
?>
Why? Please refer to the following link for more information: ookies has been used to help them slide over and over again...