Problems when copying files from another computer

0

I'm trying to copy with images from a local WAMP. The image is accessible, but with this specific command it gives errors.

$url = "http://192.168.1.66/c/fotos/B00GO1MG8I.jpg";
$dest = "img.jpg";
copy($url,$dest);

The error that comes up is as follows.

Warning: copy(http://192.168.1.66/c/fotos/B00JZFG6QS.jpg): failed to open stream: Connection timed out.
    
asked by Yonkykong 28.05.2018 в 11:59
source

0 answers