» » log

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

Monolog-PHP log class library introduction

Author: bamboo06 on 2-12-2018, 17:47, views: 1895

0 Monolog is a full and easy to expand log log library under php. There are many well-known php frameworks including Symfony, Laravel, CakePHP and so on that have Monolog built in. Monolog can send your logs to files, sockets, inboxes, databases and various web services.
Monolog-PHP log class library introduction

Monolog follows the PSR3 interface specification and can be easily replaced with other log classes that follow the same specification. Monolog has good extensibility. Through the interfaces Handler, Formatter and Processor, you can expand and customize the Monolog library.

Category: PHP Scripts / Plugins

 

Use PHP to analog logging in and accessing to data

Author: bamboo06 on 8-11-2014, 01:24, views: 1979

4 cURL is a powerful PHP library, using PHP's cURL library can be simply and efficiently crawl the web and collect content, set the cookie to complete the simulation login page, curl provides a rich set of functions that developers can get more from the PHP manual About cURL information. In this paper, the simulation Login Open Source China (oschina) as an example, and share cURL use.
Use PHP to analog logging in and accessing to data

PHP's curl () in terms of efficiency crawled pages is relatively high, and supports multi-threading, and file_get_contents () would be slightly more efficient, of course, need to open when using curl under the curl extension.

Category: PHP Scripts