Home  >  Q&A  >  body text

Unable to execute code

Warning: imagejpeg(haha.jpg): failed to open stream: Permission denied in /home/phpcn6peh2pwcun/wwwroot/compile.php(30) : eval()'d code on line 32



周旻周旻2682 days ago1401

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-17 08:53:04

    imagejpeg($img, 'haha.jpg'); Change the image address to yours and try again~~~

    reply
    0
  • 周旻

    Here is the picture generated by the code. How do I change the address?

    周旻 · 2017-06-17 11:59:34
  • Cancelreply