Get rid of Google fonts, WordPress is booming, and googlewordpress
July 7, 2014 23:40:31Because Google is on the wall, Google fonts referenced by WordPress are always loaded for a long time, seriously affecting the speed of opening. Installing the
Qq login, problems encountered during the application process of Sina Weibo login interface, Sina
1. qq login interface application
The application address is http://connect.opensns.qq.com/. click the upper-right corner of the page. Then fill in the
Php + mysql does not require Recursive Implementation of unlimited classification instances (non-recursive), mysql Recursion
Recursion is generally the first and easiest way to achieve an infinite classification, but recursion is generally
I will write down my favorite and interesting topics and share them with you. The last time I wrote an article "talking with the boss in php". I still have a lot of questions. This book has helped me a lot.
Click the mind map to view the big picture.
Php is a class used to connect to the mysql database. for php learning, refer
Project structure:
Running effect;
Conn. phpCopy codeThe code is as follows:
Class ConnectionMySQL {// HostPrivate $ host = "localhost ";// Database usernamePrivate $
The UNIX timestamp and the formatting date are two time representation forms that we often deal with. The Unix timestamp is easy to store and process, but not intuitive, and the formatting date is intuitive, however, it is not as easy to process as
One day, I thought I hadn't reviewed the design pattern for a long time. After reviewing a design pattern, find the source code that uses this pattern in ZF. if you do not read all the source code, read the "advanced" part. let's talk about the
Php autoload can be used in two ways: __autoload and spl. The two methods have different usage methods.
_ Autoload usage Method 1:
This method is most often used. find the class file based on the class name, and then require_one
Copy codeThe code
Still starting from the project requirements, some of this function, PHP version has written a Smarty plug-in, as long as a simple modification of the function name can be directly called in PHP, at the same time, in order to display the time in the
The relationship between PHP hollow strings, 0, null, empty, and false is always uncertain for so long. Which method function should be used for processing?
If the method function is used incorrectly or is used less, if the logic sequence of several
Sometimes, when submitting the publishing information page, you need to divide many complex information submission pages into multiple steps for submission. Below is the basic method to implement this function 1.php
Copy codeThe code is as
The 32-bit signature string generated by the long URL md5 is divided into four sections, each of which contains eight bytes:
1) generate a 32-bit signature string for the long URL md5, which is divided into four sections, each of which contains 8
Sometimes you need to obtain the content of the. htpasswd file, you can use the following code class. if you need it, you can refer to the. htpasswd File example:
User1: {SHA} kGPaD671VNU0OU5lqLiN/h6Q6ac =
User2: {SHA} npMqPEX3kPQTo + x/+ ZckHDrIcQI
Just as you can see the famous saying behind the title of "chat blog", every time you refresh it, a random statement will appear. put your favorite words together and it will often appear in front of you, how can we achieve this random celebrity
There are four ways to generate XML files in PHP. For more information, see generate the following XML strings.
Xml code
Copy codeThe code is as follows:
Title1
Content1
2009-10-11
Title2
Content2
One of the basic concepts of PHP Object-Oriented Learning notes, if you want to learn PHP object-oriented programming, refer to 1> if ("false") is equivalent to if (true ), because the non-null string is true
2> check the data type:
Is_array
Using PHP to generate random numbers can be applied in many places, such as designing random passwords for programs, simulating dice games, and stone scissors game applications.
Sometimes we need to use a random user name and password in the
The new version of phpadmin is limited to 8 MB, and the old version may be 2 MB. what should I do if there are dozens of megabytes? Next, this article will introduce the detailed modification method. if you are interested, do not miss it, the
Json is a data format of js and can be directly parsed by js. php cannot directly read json data, but php provides the json_decode function to convert json data, this can be accessed by php scripts. Today, the webmaster will discuss this issue with
Originally, the line feed in the unix world was replaced by/n, but in order to reflect its differences, windows uses/r/n. What's more interesting is that/r is used in mac. Therefore, unix/n, windows/r/n, and mac/r are used to run many programs on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service