An open API service indexing awesome lists of open source software.

https://github.com/liyanboy74/php-data-logger

Logging HTTP requests into MySQL database
https://github.com/liyanboy74/php-data-logger

http loogin mysql-database php request

Last synced: 9 months ago
JSON representation

Logging HTTP requests into MySQL database

Awesome Lists containing this project

README

          

# PHP Data logger

Logging http requests into MySQL database

That API can save any POST,GET,JSON & ...

you must have table named `log` Columns (`ID` ,`name` ,`data` ,`dateTime`)

Edit below lines in `api.php` for connect to MySQL database:

```PHP
$servername = "localhost" ;
$username = "USERNAME" ;
$password = "PASSWORD" ;
$dbname = "DB_NAME" ;
```