How to display image after upload in php?

后端 未结 8 1959
無奈伤痛
無奈伤痛 2021-01-14 08:30

after uploading the image to a folder. how to display the image..

its my upload.php



        
8条回答
  •  花落未央
    2021-01-14 09:11

    Just do this

    echo '
    

    We have to take the $file_name variable because.. "" (double quotes) can only return text in the variable - it cannot return binary number to show image!

提交回复
热议问题