Though I haven't tested it, it looks as though the copy() function will work. Below is some sample code. Read about it here: http://php.net/copy
// the source URL
$src_url = "http://$user_ip/cgi/nph-jpeg.exe?-aw+80+-ah+60+-single+-device+3+-video+0";
// a new name/location for the image
$dest_url = "images/newimage.jpg";
// try copying -- if it doesn't work, complain.
if (!copy($src_url, $dest_url)) {
print ("failed to copy $file...<br>\n");
}
I hope this works, Julian.