I have created some Register Forms in my localhost. That Register form is working on my localhost and in another testing server.But when I deployed it in another server, then the post method is not working. I have used JavaScript for posting the form and I also tried with normal method using html on that server. Both method are not working on that server. In browser "Developer tools", in the "Console Window", the below error is displayed:
error: POST http://mycarer.com.au/db/complite_regi_db.php 403
(Forbidden)
Following is my JavaScript for the Registration form.
$(document).ready(function(){
$('#basic_info_register').submit(function(e){
e.preventDefault();
var val_form= $('#basic_info_register').serialize();
$.post('db/complite_regi_db.php',val_form,function(data){
window.location.replace("finder_image_upload.php");
});
});
});
Please can some one give me any solution.