The previous cache and now said that the page static is to speed up the site, if the small number of visits to small sites may not be required but if the site size or access is large, then the page static and cache will reflect the value of the next
For example, classification information, content page default is generated static, if you need to set to dynamic access, you can refer to the following methods:
ARCLISTSG tag, document list invocation tag for single-table standalone model
Method
1. Declaration of constants
In PHP, define constants using the Define () function to implement
2. Magic Constants
Returns the current line number in the file
__file__
Returns the full path and
The recent period of time has been received by Google's Mail, and "New sharp studio" keyword in google included and ranked none.
[Webmaster Tools] http://www.endige.net/: Googlebot can ' t access your site
background Catch test tips for:
Learned a bit yesterday php5.5 found a new function is class-level constants, let me give you a simple share of my study notes.
PHP recently released the first stable version of 5.5, introduced a class-level constant, the name is ' class ', the
Copy CodeThe code is as follows:
/**
* Images class is a picture processing class
* @package Application.controllers
* @since 1.0
*/
Class Images
{
/**
* Zoom Picture
* @param $source Original picture
* @param $newfile New pictures
* @param $pre
When you send an email, you may be wondering if the message has been read by the other person. Here's a very interesting piece of code that shows the actual date and time that the other IP address record was read.
Copy CodeThe code is as
In PHP to count the first day of the month and the last day we can use the Strtotime function to convert, the following two methods are described by friends to refer to.
The main use of the Strtotime function, powerful, supporting the relative date
Why some people PHP code finally does not add?> below I introduce to you.
Why do some people not add "?>" to the PHP code at last? At first I did not know, then Baidu came to know. See the tutorial online, others have "?>" end tag, but look at other
Operator is the basic content that will be used in any development language, let me introduce some of the basics of PHP operators and how to use them.
Operator is used to operate on a value.
PHP operators
This section lists the various operators
Definition and Usage
Definition and usageThe strnatcmp () function compares the strings using a "natural" algorithm.
The strnatcmp () function works by comparing strings (case sensitive) with natural algorithms.
In a natural algorithm, the number 2
I wanted to do a feature this morning. After the user logs in, I save the user's name to the cookie but I started using the method of reading the cookie, but no effect, later found that using Setcookie () must take time to be able, let me introduce.
I believe a lot of PHP and I like the new students in the study of PHP and I like, are depressed over this problem. @ (at) What exactly does this sign do?
Once, download other people's source view, see Countless @ marks, began to think is a comment,
In PHP we want to log in generally we are combined with the MySQL session of the two combined implementation, below I give an example to introduce the Php+mysql+session login Instance program code, there is a need to learn friends can refer
In PHP, arrays and JSON transformations are simple, as long as we use Json_encode () and Json_decode (). It is easy to understand that Json_encode () is the conversion of PHP arrays into JSON. Instead, Json_decode () converts the JSON into a PHP
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