- Credits
- 1,209
İstediğiniz siteyi yazarak proxyli giriş yapabilmek bazı siteler direk veri çekmeyi engelliyor ve bir adet proxy gerekli imhatimk.com yazan yere istediğiniz siteyi girin alta proxy ve portu girin ve işlem tamamdır
<?php
function chs(){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://imthack.com/forum/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST,true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
//imhatimi.com/
curl_setopt($ch, CURLOPT_PROXYPORT, '1981');
curl_setopt($ch, CURLOPT_USERAGENT, "bots");
curl_setopt($ch, CURLOPT_PROXYTYPE, 'HTTP');
curl_setopt($ch, CURLOPT_PROXY,'154.236.184.70');
curl_setopt($ch, CURLOPT_PROXYUSERPWD,'');
$output = curl_exec($ch);
curl_close($ch);
return $output;
}
print_r(chs());
?>