W3Stream
The Info World
Monday, June 21, 2010
Find Ajax Request in a Page
To find ajax request we can use the below condition.
if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']))
{
//Ajax Code Here
die;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment