Tym jak by chwytam , jak to zapisać do jpg
<?php $ch = curl_init('http://www.pcserwer.pl/images/oferta.jpg'); curl_exec($ch); curl_close($ch); ?>
<?php curl_setopt($ch, CURLOPT_URL, "http://www.example.com"); ?>
<?php /* Create a cURL handle. */ $ch = curl_init(); /* Prepare the data for HTTP PUT. */ $putString = "Hello, world!"; /* Set cURL options. */ curl_setopt($ch, CURLOPT_URL, "http://www.example.com"); curl_setopt($ch, CURLOPT_PUT, true); curl_setopt($ch, CURLOPT_INFILE, $putData); /* ... (other curl options) ... */ /* Execute the PUT and clean up */ $result = curl_exec($ch); curl_close($ch); ?>