Shud the PHP files that do processing/ validation of data called by AJAX be put in 'include' folder
- by Arup
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??