Skip to content
pontikis.net
  • Blog
  • Labs
  • Write For Us
  • About
Search for:
Menu Close

ajax

  1. Home>
  2. Blog>
  3. ajax
How to check if a Request is AJAX call with PHP
Credits

How to check if a Request is AJAX call with PHP

  • Post author:Christos Pontikis
  • Post published:December 9, 2013
  • Post category:Web Development
  • Reading time:1 mins read

It is useful to prevent direct access of AJAX calls (from browser address bar). A solution could be the following simple function check_is_ajax(): /** * Check if request is an…

Continue Reading How to check if a Request is AJAX call with PHP

Categories

Archives

NewsLetter

Click here to subscribe to our free email newsletter.
Unsubscribe anytime with a click.
Web Developer Jobs by Jooble!

LIKE OUR PAGE!

  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Contact
  • Privacy
  • Terms
  • Credits
© Christos Pontikis 2013 - 2021
Close Menu