Jnr PHP/Codeigniter Developer Question:

Download Job Interview Questions and Answers PDF

Tell us can you send an Ajax request to another domain?

Jnr PHP/Codeigniter Developer Interview Question
Jnr PHP/Codeigniter Developer Interview Question

Answer:

It is not possible to send an Ajax request if the protocol or host are different. This is called CORS and is checked by the browser.

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what’s the difference between unset() and unlink()?Do you know what is Polymorphism?