简体   繁体   中英

Using ng2-file-upload with PHP

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.

This has a lot of demo's available as well as a step-by-step guide.

Valor ng2 File upload (reference) and ng2 Uploader

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM