» page 2

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

PHP security of the password hashing

Author: bamboo06 on 14-08-2019, 18:29, views: 904

0 Never know the user's password, we must encrypt the user's password, and can not save the user's original password directly in the database. Do not limit the user password format. If the format is specified, it may be exploited and cracked by the attacker. Of course, we need to limit the minimum length of the password. It is recommended to use at least 8 bits. The longer the better.
PHP security of the password hashing

For password security, developers need to:
1, absolutely can not know the user's password, we must encrypt the user's password, can not save the user's original password directly in the database.
2, do not limit the user password format, if the format is specified, it is likely to be exploited and cracked by the attacker, of course, we need to limit the minimum length of the password, it is recommended to at least 8 bits, the longer the better.
3, can not send the user password through the mailbox, when we develop the application to retrieve the password, the user password is not notified to the user by email, but the link to reset the password is sent to the user in the form of mail, let the user Go to reset the password.

Category: PHP Scripts

 

PHP security data filtering and verification

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

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: 942

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: 1297

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: 1035

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

 

Pure CSS to make adaptive article pagination

Author: bamboo06 on 21-04-2019, 02:23, views: 1940

0 A pager is one of the front-end components commonly used in web development. It can display data to users in batches. We know that frameworks such as Bootstrap provide very nice tabbed components, but your project may not need Bootstrap, you want to customize a beautiful tab for your own project, so please read this article.
Pure CSS to make adaptive article pagination

This article introduces you to make a beautiful page bar with pure CSS, which can adapt to various mobile screens such as PC and mobile phone. Developers can download the source code and change the css code to customize the style of your own project.

Category: CSS

 

PHP+Crontab performs scheduled tasks

Author: bamboo06 on 21-04-2019, 02:03, views: 1138

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 / Apps

 

Li Yanhong: China changes technology

Author: bamboo06 on 7-04-2019, 01:57, views: 1256

0 CDF Talk (Institute Speech) is an innovative speech event launched by the 20th China Development Forum. The theme of the event is "My Future with China". Twelve representatives from Chinese and foreign outstanding people are invited to share their stories with China. In the first issue, please discuss with Baidu founder, chairman and CEO Li Yanhong "China changes technology."
Li Yanhong: China changes technology

In China, we must make full use of the advantages of data, the advantages of the scene, the advantages of talent, the advantages of capital and the advantages of infrastructure, and push innovation forward.
These innovations can be used not only by China, but also by the world. Through big data, we can create big opportunities for China to contribute technology that belongs to the world.

Category: Internet

 

Google officially closed the short URL service GOO.GL

Author: bamboo06 on 7-04-2019, 01:49, views: 1706

0 Google URL Shortener officially announced its cessation of support today. Since March 30, 2018, Google has gradually closed the goo.gl URL short URL service. After April 13, 2018, only existing users will be allowed to continue to use the short link generation service. In addition, the user's analysis data can be viewed and the short link information can be downloaded in CSV format. On March 30, 2019, the goo.gl console will be officially closed.
Google officially closed the short URL service GOO.GL

Google's short URL service goo.gl was launched on December 14, 2009, and it has been 9 years since the service was closed. The existing goo.gl link is still available, but the new link has not been created. Google recommends that developers can turn to their Firebase dynamic links, and regular users can only switch to other short URL services.

Category: Internet

 

Pin the HTML5 video player to the bottom right corner of the page when the page scrolls

Author: bamboo06 on 7-04-2019, 01:06, views: 4022

0 On a page with video playback, sometimes we need to scroll the page to view video-related content information, such as profiles, related comments, etc., then when scrolling the page, the video player will leave the window area, this time we can use JS and CSS technology will The player toggle is fixed to the bottom right corner of the page.
Pin the HTML5 video player to the bottom right corner of the page when the page scrolls

Use jquery to detect the scrolling event of the window and switch the videoBox's class class to the appropriate position to hide and appear in the lower right corner.

Category: Javascript / CSS