Do all browsers support PHP's $_SERVER['HTTP_X_REQUESTED_WITH']?
Do you know of any browsers or times where $_SERVER['HTTP_X_REQUESTED_WITH'] would not work?
Sending of a X-Requested-With header really depends on the Ajax library used. I checked out Prototype, jQuery, Mootools and YUI and they all set it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With