php - Save as raw image data in Firefox -


i'm using echo file_gets_content output raw image data jpeg based on $_posted variables. expected result( display image) when "right click save as" firefox attempts download file turns out corrupt

this not happen in google chrome why happening , how can work around this?

turns out right...when "right click/ save as" in firefox browser attempts download media replicating process...the problem seems not post variables needed reproduce image. using session in logic resolved issue


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -