How to grab the picture here to the local

xiaoxiao2021-03-06  103

$ 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');

?>

转载请注明原文地址:https://www.9cbs.com/read-124604.html

New Post(0)