I use this now: function save_image($inPath,$outPath) { $in=fopen($inPath, "rb"); $out=fopen($outPath, "wb"); while ($chunk = fread($in,8192)) { fwrite($out, $chunk, 8192); } fclose($in); fclose($out); }...
Hello,
I really need to use this code:
$image = file_get_contents('http://82.177.67.40:65530/test/stok.jpg') or die('Could not get image');
but I recognized that file_get_contents() from remote files is not allowed. Is that possible to add this url to some kind of white list? It is just an...
Hello everyone.
I am trying to run following php script:
$date = date('H i d m Y');
$date = str_replace(" ", "_", $date);
$image = file_get_contents('http://82.177.67.40:65530/test/stok.jpg') or die('Could not get image');
$create =...