Reputation: 521
I do not have an idea how to upload a file to PHP server using ng2-file-upload with Angular2. I don't know how to pass a PHP url to FileUploader.
I am trying to find something on internet about this, but nothing until now.
If it is possible, could someone give me an example?
Thanks.
EDIT: It works using ng2-uploader and following this example as @Chiragh Dewan said.
Upvotes: 0
Views: 1897
Reputation: 377
This has a lot of demo's available as well as a step-by-step guide.
Valor ng2 File upload (reference) and ng2 Uploader
Upvotes: 1