📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
backlinksatisscripti.demodesign.com.tr
📝
yorumkontrol.php
← Geri Dön
<?php require_once 'ayar.php'; function ara($bas, $son, $yazi){ @preg_match_all('/' . preg_quote($bas, '/') .'(.*?)'. preg_quote($son, '/').'/i', $yazi, $m); return @$m[1]; } $kontrol_cek = mysqli_query($dbbaglanti,"select * from y_kontrol"); if(mysqli_affected_rows($dbbaglanti)){ $kontrol = mysqli_fetch_object($kontrol_cek); $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_URL, $kontrol->kontrol_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate'); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); $kontroleturl = ara('<form action="', 'wp-comments-post.php', $response); if(!empty($kontroleturl)){ $idkontrol1 = ara('"comment_post_ID" value="', '"', $response); $idkontrol2 = ara("'comment_post_ID' value='", "'", $response); $buttonkontrol1 = ara('id="submit" value="', '"', $response); $buttonkontrol2 = ara('name="submit" value="', '"', $response); $buttonkontrol3 = ara('class="submit" value="', '"', $response); $buttonkontrol4 = ara("id='submit' value='", "'", $response); $buttonkontrol5 = ara("name='submit' value='", "'", $response); $buttonkontrol6 = ara("class='submit' value='", "'", $response); $buttonkontrol7 = ara('type="submit">', '</button>', $response); $buttonkontrol8 = ara("type='submit'>", "</button>", $response); $buttonkontrol9 = ara('<input name="submit" type="submit" id="submit" tabindex="5" value="', '"', $response); $buttonkontrol10 = ara('class="submit wp-block-button__link" value="', '"', $response); if(!empty($buttonkontrol1)){ $buttondeger = $buttonkontrol1[0];} if(!empty($buttonkontrol2)){ $buttondeger = $buttonkontrol2[0];} if(!empty($buttonkontrol3)){ $buttondeger = $buttonkontrol3[0];} if(!empty($buttonkontrol4)){ $buttondeger = $buttonkontrol4[0];} if(!empty($buttonkontrol5)){ $buttondeger = $buttonkontrol5[0];} if(!empty($buttonkontrol6)){ $buttondeger = $buttonkontrol6[0];} if(!empty($buttonkontrol7)){ $buttondeger = $buttonkontrol7[0];} if(!empty($buttonkontrol8)){ $buttondeger = $buttonkontrol8[0];} if(!empty($buttonkontrol9)){ $buttondeger = $buttonkontrol9[0];} if(!empty($buttonkontrol10)){ $buttondeger = $buttonkontrol10[0];} if(!empty($idkontrol1)){ $iddeger = $idkontrol1[0]; } if(!empty($idkontrol2)){ $iddeger = $idkontrol2[0]; } $url = $kontroleturl[0]; $urlss = $kontrol->kontrol_url; preg_match('@^(?:http://|https://)?([^/]+)@i', $urlss, $matchesd); $host = $matchesd[1]; $paket_id = $kontrol->kontrol_paket_id; if(!empty($url) && !empty($iddeger) && !empty($buttondeger)){ $site_varmi_bak = mysqli_query($dbbaglanti,"select site_id from y_site where site_url='$url' && site_konu_id='$iddeger' && site_paket_id='$paket_id'"); if(!mysqli_affected_rows($dbbaglanti)){ mysqli_query($dbbaglanti,"insert into y_site(site_paket_id,site_url,site_konu_id,site_button) values('{$kontrol->kontrol_paket_id}','$url','$iddeger','$buttondeger')"); if($kontrol->kontrol_paket_id=='0'){ $paket_kontrol = mysqli_query($dbbaglanti,"select paket_id from y_paket where paket_ozel='0'"); if(mysqli_affected_rows($dbbaglanti)){ mysqli_query($dbbaglanti,"update y_paket set paket_site=paket_site+'1' where paket_ozel='0'"); } }else{ mysqli_query($dbbaglanti,"update y_paket set paket_site=paket_site+'1' where paket_id='{$kontrol->kontrol_paket_id}'"); } } }else{ if(!empty($host)){ mysqli_query($dbbaglanti,"delete from y_kontrol where kontrol_url like '%$host%'"); } } } mysqli_query($dbbaglanti,"delete from y_kontrol where kontrol_id='{$kontrol->kontrol_id}'"); }else{ echo'bitti';} header('refresh: '.YORUM_CONTROL_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