Your Ad Here

Posted By

pictura4 on 10/06/10


Tagged

codeigniter


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

melik
jplr
nickyb
wirenaught
fireball70
arkadylukashov


CodeIgniter AJAX


 / Published in: PHP
 

  1. // Define Ajax Request
  2. define('IS_AJAX', isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');

Report this snippet  

You need to login to post a comment.