$value) $str .= "POST: $key = $value\n"; foreach ($_GET as $key => $value) $str .= "GET: $key = $value\n"; } return '
'.$str.'
'; } function debug_noconnection() { $str = "
DATABASE CONNECTION FAILED!"; return '
'.$str.'
'; } */ //OLD POSTGRE //$link = 'host=127.0.0.1 dbname=ihbar user=postgres password=postgres'; //pg_pconnect($link) or die(debug_noconnection()); $con2 = mysql_connect("192.168.200.7","root","Tak23Bim") or die("Sunucuya Bağlanılamadı.
Hata Mesajı : ".mysql_error()."
Hata Numarası : ".mysql_errno()); $id = 0; if($_GET) $id = $_GET['subject']; if($_POST) $id = $_POST['ihbar']; if(isset($_POST['adres'])) { $kontrol = true; //$ip=$_SERVER['REMOTE_ADDR']; //Bu iki satir operatorlerin captcha girmemesi icin yazildi (11.05.2010) //if (substr($ip,0,10)=='192.168.34') {$_POST['security_code']=$_SESSION['security_code'];} if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ){ //Hata Kontrolleri if(isset($_POST['geri'])){ if(empty($_POST['email']) && empty($_POST['tel'])){ $_SESSION['iHata']=true; $kontrol = false; } } if ( empty($_POST['adres']) ){ $_SESSION['aHata']=true; $kontrol = false; } if($id==0) exit(); $ID= $id; $ADRES = trim( str_replace("\r\n"," ",$_POST['adres']) ); //$DETAY = str_replace("\r\n",chr(12),$_POST['detay']); $DETAY = $_POST['detay']; $TARIH = str_replace("\r\n"," ",$_POST['tar']); $AD = str_replace("\r\n"," ",$_POST['ad']); $SOYAD = str_replace("\r\n"," ",$_POST['soyad']); $EMAIL = str_replace("\r\n"," ",$_POST['email']); $TEL = str_replace("\r\n"," ",$_POST['tel']); if(isset($_POST['geri'])) {$GERI=1;} else {$GERI=0;} $SUC = $_POST['suc']; // LINK SYNTAX KONTROLU if(validateUrlSyntax($ADRES, '')) { //$_SESSION['mistek']="
!!! TAMAM.
"; }else{ $_SESSION['aHata']=true; $kontrol = false; } if($kontrol){ /* //$sql = 'INSERT INTO ihbar0(telno, isim, soyisim, email, geri_donulsun_mu, i_ihbarkanali, i_suckanali, suc_adresi, olay_tarifi, i_kategori, suc_islenme_tarihi,ip_adresi) VALUES (\''.$TEL.'\',\''.$AD.'\',\''.$SOYAD.'\',\''.$EMAIL.'\',\''.$GERI.'\',2,'.$SUC.',\''.$ADRES.'\',\''.$DETAY.'\','.$ID.',\''.$TARIH.'\',\''.$_SERVER['REMOTE_ADDR'].'\')'; $sql = 'INSERT INTO ihbar0(telno, isim, soyisim, email, geri_donulsun_mu, i_ihbarkanali, i_suckanali, suc_adresi, olay_tarifi, i_kategori, suc_islenme_tarihi,ip_adresi) VALUES ($1,$2,$3,$4,$5,2,$6,$7,$8,$9,$10,$11)'; //echo $sql; //exit; pg_prepare("", $sql); pg_execute("", array($TEL,$AD,$SOYAD,$EMAIL,$GERI,$SUC,$ADRES,$DETAY,$ID,$TARIH,$_SERVER['REMOTE_ADDR'])); */ mysql_select_db("bilgiihbar") or die("MYSQL Veritabanına Bağlanılamadı.
Hata Mesajı : ".mysql_error()."
Hata Numarası : ".mysql_errno()); mysql_query("SET NAMES 'utf8'"); //mysql_query("SET NAMES 'latin5'",$con2); //mysql_query("SET CHARACTER SET latin5",$con2); mysql_query("SET COLLATION_CONNECTION = 'latin5_turkish_ci'",$con2); $query=sprintf("INSERT INTO bilgiihbar.ihbar (phone, name, surname, email, returntype, ichannelid, cchannelid, url, scene, categoryid, originalcategoryid, ipaddress, createtime, urgent, result, td_id) VALUES ('%s' , '%s' , '%s', '%s', ".$GERI." , 2 , ".$SUC." , '%s', '%s', ".$ID." , ".$ID." , '".$_SERVER['REMOTE_ADDR']."', now(), 0,0,0)", mysql_real_escape_string($TEL), mysql_real_escape_string($AD), mysql_real_escape_string($SOYAD), mysql_real_escape_string($EMAIL), mysql_real_escape_string($ADRES), mysql_real_escape_string($DETAY) ); $resss=mysql_query($query,$con2) or die(mysql_error()); header( 'Location: ihbarSonrasi_en.html' ); exit(); } unset($_SESSION['security_code']); } else{ $_SESSION['cHata']=true; } } ?> İhbar Web
 
 
Provocation for committing suicide  
 
Sexual exploitation of children  
 
To ease the use of drugs  
 
Supplying drugs which are dangerous for health  
 
Obscenity  
 
Prostitution  
 
To provide place and opportunity for online gambling  
 
Crimes mentioned in the Law on Crimes Against Atatürk numbered 5816  
 
 
 
Website : *
Please, enter correct URL address!
 
 
Details :
 
 
Date :
 
" readonly=readonly/>
 
Please choose the service in which you have found illegal content:
 
WebSite
E-Mail
Newsgroup
Instant Messaging
Chat
P2P
Other
 
Please enter security code. *
Please enter security code correctly!
 

 
 
 
>  I want feedback about my informing.
Please enter at least one contact address.
Please enter at least one contact address!
 
NAME :
SURNAME :
E-MAIL : *
TELEPHONE : *