Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 699 Bytes

File metadata and controls

8 lines (7 loc) · 699 Bytes

PHP Class "Datasource"

This PHP class provides a simple functionality for gathering and storing data about web service availability. That is, the class provides a simple interface for handling URL-based availability checks. It wraps some PHP CURL functionalities and combines it with a SQL table for storing status data.

You'll find the following files:

  • class_datasource.php: The class itself including a documentation of its structure
  • example_datasource.php: An exemplary implementation/ use of the class "datasource"
  • config_database_server.php: Config Information about the database server to be used
  • datasource.sql: SQL command CREATE TABLE that provides the database/ table structure