GIF89a php
Current File : /home/hencockfreshchic/public_html/app_old/sendMsgg.php
<?php
ob_start();
ini_set('error_reporting', E_STRICT);
include("connect.php");
mysqli_set_charset($conn,'utf8');
date_default_timezone_set('Asia/Kolkata');

$msgg=$_GET['msgg'];
$frnd_id=$_GET['frnd_id'];
$my_id=$_GET['my_id'];
$checksum=$_GET['checksum'];

$sql="INSERT INTO `chat`(`my_id`, `frnd_id`, `msgg`, `datee`, `timee`, `seen`, `chksum`) VALUES ('".$my_id."','".$frnd_id."','".$msgg."','".date('Y-m-d')."','".date('h:i:s A')."','0','".$checksum."')";
$rs=mysqli_query($conn,$sql);
if($rs>0)
{
	echo "1";
}
else
{
	echo "0";
}
?>