Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $curl = curl_init();
- curl_setopt($curl, CURLOPT_URL, 'http://site.ru/test.php');
- curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
- curl_setopt($curl, CURLOPT_REFERER, "www.fake-site.com");
- $out = curl_exec($curl);
- echo $out;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement