Send file to ?
you should get files using $_FILES not $_POST
I AM NOT GET I AM SEND
use enctype="multipart/form-data" in your form
What you don’t understand from previous message. I am not Uploading file. I am sending file for download generated zip from post data
Show code
How u making zip?
Content type header missing
ah yes, that i am now try in different versions. occet-stream and zip tested with fail
Maybe creating a temporary route to your temporary file and redirecting client to it
Looks like that fast. But why i hate this part of readfile
idk. php is kind of a "not unixshell/powershell" for me. I write php scripts for idk like renaming a bunch of files or sth
And pocketmine-mp plugins
That really shit, so many times goes and php still that. Location and unlink working well in that case 🙁
Without this, php upload functionality won't work i think
Обсуждают сегодня