Shud the PHP files that do processing/ validation of data called by AJAX be put in 'include' folder

Posted by Arup on Stack Overflow See other posts from Stack Overflow or by Arup
Published on 2010-05-13T08:31:23Z Indexed on 2010/05/13 8:34 UTC
Read the original article Hit count: 183

My Question is suppose I have a form which needs validation through AJAX. The AJAX is sending data to to a file called do_ajax_validation.php Now should I put this file in 'include' folder and name it do_ajax_validation.inc.php and bar it from direct access of the user. Or shud i put it in the directory in which the original form resides??

© Stack Overflow or respective owner

Related posts about php

Related posts about AJAX