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

ajax

  1. Home>
  2. Blog>
  3. ajax
Read more about the article 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:2 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 ReadingHow 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.

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 - 2022
Close Menu