📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
backlinksatisscripti.demodesign.com.tr
📝
yorumgonder.php
← Geri Dön
<?php require_once 'ayar.php'; $islem_cek = mysqli_query($dbbaglanti,"select * from y_islem inner join y_site on y_islem.site_id=y_site.site_id where y_islem.islem_durum='2' limit 1"); if(mysqli_affected_rows($dbbaglanti)){ $islem = mysqli_fetch_object($islem_cek); $baslik = $islem->yorum_baslik; $yorum = $islem->yorum_detay; $email = substr(md5(time()),0,8).'@hotmail.com'; $urli = $islem->yorum_url; $button = $islem->site_button; $post_id = $islem->site_konu_id; $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($ch, CURLOPT_URL, $islem->site_url."wp-comments-post.php"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate'); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, 'comment='.$yorum.'&author='.$baslik.'&email='.$email.'&url='.$urli.'&submit='.$button.'&comment_post_ID='.$post_id.'&comment_parent=0'); $response = curl_exec($ch); $resonse_url = curl_getinfo($ch, CURLINFO_REDIRECT_URL); curl_close($ch); echo $resonse_url; if(!empty($resonse_url)){ mysqli_query($dbbaglanti,"update y_islem set islem_durum='1', islem_url='$resonse_url' where islem_id='{$islem->islem_id}'"); }else{ mysqli_query($dbbaglanti,"delete from y_islem where islem_id='{$islem->islem_id}'"); } mysqli_query($dbbaglanti,"update y_siparis set siparis_islem=siparis_islem+'1' where siparis_id='{$islem->siparis_id}'"); }else{ echo'bitti';} header('refresh: '.YORUM_SEND_REFRESH.''); ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula