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
Post a Comment