A
|
Andrea Iorio author 12/3/2024 |
I found this solution, is it possible to use it in phprunner? // (A) HELPER FUNCTION - SERVER RESPONSE // (B) INVALID UPLOAD // (C) UPLOAD DESTINATION - CHANGE FOLDER IF REQUIRED! // (D) DEAL WITH CHUNKS // (E) CHECK IF FILE HAS BEEN UPLOADED |
A
|
Andrea Iorio author 12/4/2024 |
Can anyone give me a hand? |
![]() |
Sergey Kornilov 12/4/2024 |
I don't think this is going to work. I don't know what this code does but this is PHP code so it handles the receiving part. I don't know how do you tell the web browser to upload the large file in parts. I think the most reasonable solution is to create a subdomain on your website where this application can be deployed and set different upload size limit for this subdomain only. This is what we do on our own web site when we upload DevClub videos. |
A
|
Andrea Iorio author 12/6/2024 |
Maybe I succeeded, so I'll explain how to do it here. But I need some important information. I have an upload form with a field called "allegato" set as file/image. I need to intercept the change in the "Allegato" field of the original PHPRunner file and put it in this javascript command "$("input[name='value_allegato' ]").on("change", function () { Can you help me? |