$URL = 'http://10.251.13.7/gtz/temp3.php/download.png'; // Like "http:// ...." $FileToSave = 'uploads/download.png'; // Like "/home/.." or "C:/..." $Content = file_get_contents($URL); file_put_contents($FileToSave, $Content);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)