» page 5

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

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

 

AlphaGo Innovation

Author: bamboo06 on 29-05-2017, 03:44, views: 9901

0 As the first person to meet with AlphaGo in 2015, the Chinese traveler European football player, the European champion Fan wrote a detailed description of the chess program chess and chess routines, and its use in the recent game strategy and tactics Innovation. The following is Fan Quan full text:
AlphaGo Innovation

One of the most important roles of artificial intelligence is that it helps humans understand and explore the ability of new knowledge in complex areas. The use of artificial intelligence in several areas has given us a glimpse of its ability. For example, using algorithms, we have greatly optimized the use of energy for data centers. Of course, there's our Go program - AlphaGo.

Category: Internet

 

Microsoft accused the US government private system loopholes

Author: bamboo06 on 19-05-2017, 18:38, views: 8110

0 Microsoft CEO and Chief Legal Officer Brad Smith on Sunday issued a violent blog article, attacking the US government "hoarding" network weapons, for such extortion software to provide a convenient attack. "The loopholes in the hands of the government have leaked to the public domain and caused widespread damage," he said, "and this has happened many times, and if it is analogous to conventional weapons, it is like the US military part of the Tomahawk missiles." The Wanna Cry Serbian virus incident affecting the world has been around for a few days, and the virus has caused hundreds of thousands of computers worldwide to be used by hospitals, businesses and government departments.
Microsoft accused the US government private system loopholes

Category: Internet

 

Conversion between PHP array and XML

Author: bamboo06 on 9-04-2017, 00:59, views: 17423

0 In the development, we often encounter the conversion between the array and XML, especially when dealing with interface development often used, such as the other side of the client POST a XML format data to the server, the server program is responsible for receiving Analysis, there is a need to data table data in XML format to provide third-party applications.
Conversion between PHP array and XML

Category: PHP Scripts

 

Use PHP to generate short URLs

Author: bamboo06 on 9-04-2017, 00:40, views: 25471

0 The normal site to bring the kind of parameters may be very long, especially in the printing of paper products such as corporate brochures to be printed on a long url, then very ugly, and few people will go to remember this site, Although it is now possible to use a two-dimensional code to open a long URL. But people can use short URLs to achieve beautiful links, especially those with limited number of applications such as microblogging.
Use PHP to generate short URLs

Short URL implementation principle is that there is a data table configuration file will be short URL and the actual URL corresponding, when a short URL request, the program jump to the corresponding actual URL up, in order to achieve the URL of the visit.

Category: PHP Scripts / Plugins

 

Talk about meta tags

Author: bamboo06 on 9-04-2017, 00:20, views: 14614

0 The Meta tag is an auxiliary tag for the HTML language head area, which is located between the head tag and the title tag in the head of the HTML document, which provides information that is not visible to the user. It can be used for browsers (how to display content or reload pages), search engines (keywords), or other web services.
I am now front-end page development often used meta tag content compiled into the mobile side of the web development meta information for the needs of access.
Talk about meta tags

Category: CSS / HTML5

 

Where does the gray industry go with search engine algorithm constantly changing?

Author: bamboo06 on 25-02-2017, 15:28, views: 9470

0 Gray industry as the name suggests: In short, the word is standing on the edge of the law or engaged in the country are strictly prohibited regardless of online and offline business affairs activities (specify: I do not know the definition of reasonable). In recent years, with the rapid development of the Internet, some of the past only in the gray industry, has been developed to the line, and the development of more rapid (really formed a line and line combination of O2O closed-loop mode), such as : Porn industry, gaming industry, PW industry and so on.
Where does the gray industry go with search engine algorithm constantly changing?

Category: Internet

 

15 best technique to build external links

Author: bamboo06 on 19-02-2017, 01:53, views: 15213

0 Now the search engine, is although already able to handle a variety of styles of URL, but we all know that the simpler things are easier to deal with, search engines are the same, in SEO work, outside the chain building is essential, Headache and vital, the following gives the outbound construction of 15 best tips for your reference only.
15 best technique to build external links

There are many friends, the beginning of the station will often put the new station on the high-key station in the new directory, after a certain time to do 301 redirect, this method is effective in a short time, but also limited, the main consideration is the search engine The contents of the old station, if the new directory content is not relevant, or a period of time to redirect to the non-sub-domain name but a new domain name, this operation will often affect the search engine rating.

Category: Internet

 

Google launched the real version 2.0 AlphaGo

Author: bamboo06 on 8-02-2017, 22:54, views: 8135

0 Jan. 26 news, Google Deep Mind CEO Hassabis attended the 17th in Munich, Germany held the DLD (digital, life, design) innovation conference, announced the real version 2.0 of the AlphaGo. The new version of AlphaGo is characterized by the rejection of the human Chess, rely on the depth of learning to grow up to challenge the limits of Go. Hassabis also said that the new attempt will bring new challenges to humanity, namely, "Understanding the AlphaGo approach, exploring the limits of the 'deep learning' approach, reaching the 'Go God' realm."
Google launched the real version 2.0 AlphaGo

Category: Internet

 

Former millet global vice president Hugo Barra joined Facebook

Author: bamboo06 on 8-02-2017, 22:48, views: 14481

0 Former millet global vice president of Hugo Bara due to health issues announced from Milan to leave Beijing, will return to Silicon Valley, joined the Facebook team as vice president of virtual reality business, responsible for leading all the VR team, including Oculus.
Former millet global vice president Hugo Barra joined Facebook

Millet global vice president Hugo Barra's reason for leaving because of health problems, users Comments: It seems to be sucked for three and a half haze, smoke does not go on.

Category: Internet