Open H36615 opened 6 years ago
if (output.type === 'allAddedToQueue') {
const event: UploadInput = {
type: 'uploadAll',
url: this.url,
method: 'POST',
fieldName: 'somethingElse',
data: {resPath: this.appConfig.img_resPath, storePath: this.appConfig.img_storePath}
};
this.uploadInput.emit(event);
}
Trying to use ngx-uploader fails at my php backend at
if(isset($_POST["submit"])){...
Which is the same as if I change my working html's<input type="submit" name="submit" value="press to upload">
name attribute to something else<input type="submit" name="somethingElse" value="press to upload">
which results php failing at the same line mentioned above.What is the 'name attribute' used in ngx-uploader? Is there a way to see this? Tried to look up from the docs and trying different values in my backend, no luck.