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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -