php - 404 not found when posting to localhost -



php - 404 not found when posting to localhost -

when user enters details trying add together them database via post file called registernewuser.php post never succeeds. i'm given 404. here post code:

$http({ method: 'post', url: '../../php/login/registernewuser.php', data: newuser, headers: { 'content-type': 'application/x-www-form-urlencoded' } }).success(function(data, status) { console.log("success"); }).error(function(status) { console.log("error"); });

i have tried moving setting url /registernewuser.php , moving registernewuser.php base of operations directory still no luck. help appreciated.

php html5 angularjs node.js

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -