%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/news/ |
Upload File : |
<?php
session_start();
?>
<?php require_once('../admin/Connections/conndb.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=windows-874" />
<title>ͫѡ...</title>
<style type="text/css">
<!--
a:link {
color: #FFFFFF;
}
-->
</style>
</head>
<body>
<?php
//******************************************************************************************************************
//echo $_POST['detail'];
//echo $_POST['comm_name'];
if($_SESSION['captcha']!=$_POST['capt'] || $_SESSION['captcha']=='BADCODE'){
?>
<SCRIPT LANGUAGE="JavaScript">
alert("س觢١ͧ");
history.back();
</script>
<?
}
else{
if($_POST['comm_name']=="" || $_POST['detail']=="" || $_POST['id'] ==""|| $_POST['id'] =="0"){
?>
<SCRIPT LANGUAGE="JavaScript">
alert("سú");
history.back();
</script>
<?
} else{
mysql_select_db($database_conndb, $conndb);
$insertSQL = "INSERT INTO news_comment(id,comment_name,comment_text,comment_email,comment_date) VALUES ('$id','$comm_name','$detail','$comm_email','$comm_date')";
$RS = mysql_query($insertSQL, $conndb) or die(mysql_error());
if($RS != 0)
{ ?>
<SCRIPT LANGUAGE="JavaScript">
alert("Դó !!.");
// history.back();
</script>
<?
echo "<meta http-equiv='refresh' content='0;URL=../detail.php?id=".$id."'>";
}
}
}
?>
</body>
</html>