» Articles for July 2019 Year

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

PHP security data filtering and verification

Author: bamboo06 on 28-07-2019, 18:26, views: 1538

0 Never trust external input, don't trust any data from a data source that is not under your direct control. In actual development, there is always someone intentionally or unintentionally injecting dangerous data into PHP code, so PHP security programming becomes important. Generally, we deal with external input security ideas: filtering input and verifying data.
PHP security data filtering and verification

Filtering input means escaping or deleting characters that are not safe from external data.

Category: PHP Scripts

 

PHP+Crontab performs scheduled tasks

Author: bamboo06 on 28-07-2019, 18:16, views: 1289

0 When we do web project development, we often need to periodically back up data, periodically restart a service or periodically execute a PHP program, etc., generally use Crontab under Linux and use scheduled tasks under Windows. This article focuses on the basics of using Crontab under Linux and performing PHP tasks.
PHP+Crontab performs scheduled tasks

Crontab is a commonly used timing execution tool for Unix/Linux systems that runs specified jobs without human intervention.

Category: PHP Scripts

 

Cloudflare has a large-scale network failure

Author: bamboo06 on 2-07-2019, 20:45, views: 1699

0 On the evening of July 2nd, Cloudflare, a well-known website that provides services such as CDN service and DNS, has network errors in many parts of the world. The use of Cloudflare service website may lead to "502 gateway error", etc., and is affected by the failure of Internet infrastructure service provider Cloudflare. Impact, many websites have encountered downtime, prompting 502 gateway error when accessing.
Cloudflare has a large-scale network failure

Afterwards, Cloudflare CEO Matthew Prince said that this round of downtime was not caused by hacker DDOS attacks, but the server was overloaded. "Due to a bug in the Cloudflare Web Application Firewall (WAF) service, this error caused a significant increase in CPU usage, causing a crash in the primary and backup systems and causing the user's website to encounter a 502 error; therefore, Cloudflare is temporarily down. Part of the WAF's functionality, solved the bug that caused the problem, and re-launched the WAF service."

Category: ---

 

Gates: The biggest regret is that I can't do a good mobile phone system

Author: bamboo06 on 2-07-2019, 20:38, views: 1367

0 Recently, it was revealed that Gates once again expressed his "great regret" to the Android system when he participated in the exchange activities organized by venture capital company Village Global.
Gates: The biggest regret is that I can't do a good mobile phone system

Gates said that the biggest mistake he made when managing the company was that he did not let Microsoft become the "non-Apple" operating system platform, and let Android rise, which is a $400 billion business.

Category: Internet