Answer the question
In order to leave comments, you need to log in
Is it possible to run a php script using an img tag or an address bar if it is passed with a "Content-Disposition: attachment" header?
I have a website, I made an attachment system, there is no direct access to files, everything goes through a script that outputs files with Content-Disposition: attachment. Is there any way to upload and execute a script on such a site?
Answer the question
In order to leave comments, you need to log in
Can you explain to me again in other words what exactly you want to do?
The server always hangs the header attachment?
And can you upload?
Upload a new htaccess where the new header will be nailed.
Or specify the header in the script itself.
The script is just a way to execute a command to the server
.
Let's be more precise
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question