Level 28
Is it not appended to the FormData or doesn't it reach the server? Because PHP for example has a max file size for uploads that you can change in the php.ini
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi.. I have a problem with uploading files. I'm trying to send form data as following codes..
let formData = new FormData()
if (this.cad_files.length > 0) {
console.log(this.cad_files)
this.cad_files.forEach( function (file) {
if (!file.id) {
console.log(file)
formData.append('cadNames[]', file);
}
})
}
when I select a small size file it's ok but with big size files it doesn't append file to form data. Is there any size limit on formData.append ??
Please or to participate in this conversation.