Skip navigation

Detect Ajax requests

Detect Ajax requests: Ajax with PHP
Detect Ajax requests: Ajax with PHP

On the server side, our PHP code needs to process an Ajax request and return data. A helpful technique is to be able to differentiate standard HTTP requests from Ajax HTTP requests. In this movie, we learn how to use X-Requested-With to set a header that we can then use to recognize requests that originate from Ajax.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 37m
Duration
14,937
Views
Show More Show Less
Skills covered in this course
Developer Web Web Development Ajax PHP

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now