$ STR = '';
$ fp = fopen ('http://www.bocobo.com/public_pages/show_img.jsp?book_id=177', 'r');
While ($ TMPSTR = FREAD ($ FP, 1024)))
$ Str. = $ TMPSTR;
Fclose ($ fp);
$ fp = fopen ('aa.gif', 'w');
FWRITE ($ FP, $ STR);
Fclose ($ fp);
echo '
"
?>
COPY ('http://www.bocobo.com/public_pages/show_img.jsp?book_id=177', 'aaaaaa.jpg');
?>