Файловый менеджер - Редактировать - C:/xampp/htdocs/backoffice/logout.php
Назад
<?php session_start(); // Incluyo las funciones basicas include "../files/config.php"; include "../files/funciones.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Logout</title> <SCRIPT> function ventanilla() { setTimeout("window.open('index.php','_parent','');",1000); } </SCRIPT> </head> <body onLoad="ventanilla();"> <?php $link = conectar(); $sql = "UPDATE usuaris SET loginon ='0' WHERE codiuser='".$_SESSION['Usuario']."'"; $result = mysql_query($sql) or die("Users database don't ready"); ?> <?php unset($_SESSION["problemaLoginTXT"]); session_destroy(); ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 5.3.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка