Curriculum
Course: AngularJS
Login

Curriculum

AngularJS

AngularJS Tutorial

0/65
Text lesson

Server Code Examples

The following section provides a list of server code examples for retrieving SQL data:

  • Using PHP and MySQL to return JSON.
  • Using PHP and MS Access to return JSON.
  • Using ASP.NET, VB, and MS Access to return JSON.
  • Using ASP.NET, Razor, and SQLite to return JSON.

Cross-Site HTTP Requests

Cross-site HTTP requests occur when a page requests data from a server different from its own, commonly seen in web pages that load resources like CSS and images from various servers, but modern browsers restrict these requests for security, requiring specific headers in PHP to allow cross-site access.

header(“Access-Control-Allow-Origin: *”);