nervgh / angular-file-upload

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework
MIT License
3.43k stars 1.13k forks source link

/upload.php 404 (Not Found) #303

Open henrikix opened 9 years ago

henrikix commented 9 years ago

Hi, I'm getting this error "http://localhost:9001/upload.php 404 (Not Found)" and "Cannot POST /upload.php" even though the file is actually there (copied from simple demo) (when I manually go to the file URL then upload.php is there). Even if I use "var uploader = $scope.uploader = new FileUploader();", I get POST http://localhost:9001/ 404 (Not Found)

mmathews92 commented 9 years ago

I have the same problem, i using codeigniter

mikegtr commented 9 years ago

Has anyone found a solution to this?

Zeboch commented 9 years ago

url parameter from FileUploader just used to set path on the server where to upload files. upload.php just here to simulate the answer from server (here making echo). To work upload.php has to be executed from a server managing PHP and POST operation (so not a simple connect or express ...).

Marioum commented 7 years ago

@Zeboch Do you have any idea what should write for the url? I am using AngularJS with phpSlim framework. I didn't know how to link it. Any help please? @matthybrid @henrikix Thank you.