Home  >  Q&A  >  body text

Can you guys please help me find out why the declaration still loads garbled code?

屏幕截图 2022-05-30 122049.png屏幕截图 2022-05-30 122150.png

P粉101222022P粉101222022788 days ago962

reply all(2)I'll reply

  • autoload

    autoload2022-05-31 10:14:39

    header('content-type:image/jpeg');$filename = 'image.jpg';
    $handle = fopen($filename, 'rb+'); //读写二进制,图片的可移植性
    $res = fread($handle, filesize($filename));
    fclose($handle);echo $res;

    reply
    1
  • P粉101222022

    Thank you, resolved

    P粉101222022 · 2022-05-31 10:16:25
  • Cancelreply