Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

codeigniter 3 if ajax request

if (!$this->input->is_ajax_request()) {
   exit('No direct script access allowed');
}
 
PREVIOUS NEXT
Tagged: #codeigniter #ajax #request
ADD COMMENT
Topic
Name
4+5 =