Notifications
Clear all
Topic starter
Hi.
In saveAttachment I see
$cnt = 0;
while(isset($_FILES['uploadedfile'.$cnt])){
$uploadedFileArray[]=$_FILES['uploadedfile'.$cnt];
}
I believe you want
$cnt = 0;
while(isset($_FILES['uploadedfile'.$cnt])){
$uploadedFileArray[]=$_FILES['uploadedfile'.$cnt++];
}
or you will enter in endless loop
Best regards
Posted : 30 Mar 2017 10H04
You're right,
$cnt++;
is missing
But I guess it's an old part of code that's not used any more with HTML5...
(or we would have many errors reported)
Posted : 30 Mar 2017 15H43