Sort articles by: Date | Most Rates | Most Views | Comments | Alphabet

Record and read JSON format log files by PHP

Author: bamboo06 on 11-11-2017, 17:34, views: 6879

1 Sometimes we need to record the operation of an operation event of the user or back-end, you can use the back-end language such as PHP to log the operation results to the log file, easy to test and find the problem. In particular, these are running in the back-end and the front can not directly see the results of the operation, then you can use the log file to record, if you often interface with some interfaces such as paypal interface, amazon card interface, log records will be not enough.
Record and read JSON format log files by PHP

We talk about PHP log records, log information is written to a log file, different from the memory log. The process of writing to the log is to open the log file (newly created if it does not exist), then append the log content to the back of the log file, and finally close the log file.

In this article, we save the contents of the log in json format for easy reading directly when needed.

Category: PHP Scripts / Skins

 

8 colorful and great Mobile & Tablet Responsive Templates

Author: bamboo06 on 19-03-2015, 00:47, views: 31764

0 Showing you 8 excellent mobile and tablet responsive templates, may you like them.
Slidebox | Mobile & Tablet Responsive Template
8 colorful and great Mobile & Tablet Responsive Templates

iOS, Andriod, Windows, Rim compative.

Category: Wordpress / Mobile / Skins