GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/blacklist-process.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? if($_POST) { /*$stdate=$_POST['startyear'].'-'.$_POST['startmonth'].'-'.$_POST['startdate']; $enddate=$_POST['endyear'].'-'.$_POST['endmonth'].'-'.$_POST['enddate']; $sql_postid="SELECT * FROM escort_details where user_id='".$_SESSION['userid']."'"; $res_postid=execute_query($sql_postid); $row_postad=mysql_fetch_array($res_postid);*/ $date=date('Y-m-d'); $coment=addslashes($_POST['details']); $sql_tour="Insert into blacklist(id,userid,date,customer_name,phone,safe,coments)VALUES('','".$_SESSION['userid']."','$date','".$_POST['cushandle']."','".$_POST['phone']."','".$_POST['cussafe']."','$coment')"; execute_query($sql_tour); ?> <script language="javascript"> location.href="blacklist.php"; </script> <? }