%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.155.177.87 / Your IP : 122.155.177.87 Web Server : Apache/2 System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 User : apache ( 994) PHP Version : 5.3.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,putenv,eval MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/thungkhana/domains/thungkhanan.go.th/public_html/poll/ |
Upload File : |
<?php
session_start();
if($_SESSION["user"]==""){
session_destroy();
$message = "س Login .";
$url = "../admin/index.php";
include("../admin/alert.php");
exit;
}
require_once('../admin/Connections/conndb.php');
mysql_select_db($database_conndb, $conndb);
header('Content-Type: text/html; charset=windows-874');
$title2=trim($_POST[title2]);
if($title2!=""){
$sql_in="update vote set vtitle='".mysql_real_escape_string($_POST[title2])."' , updated='".date("Y-m-d H:i:s")."' where id_v=".$_POST[ck];
//echo ' <br> sql = '.$sql_in;
$res_in=mysql_query($sql_in);
header("Location: add_choice.php?idp=".$_POST[idp]);
}
else{
?>
<script>
alert('س͡');
history.back(-1);
</script>
<?php
}
?>