Here I want to summarize some information about getting the URL in the address bar and my more path to the file:
Using $_server[] We can do a lot of things: it's an array of headers (headers), path information, and the location of the script, and
Background knowledge:
Simplified Chinese National Standard Font (1981 years, mainland China). 7,445 characters, of which 6,773 Chinese characters, including a first-level kanji 3,755, two-level kanji 3,008. Encoded with 2-byte (16-bit
Have you ever been or are you worried about how you can make changes to a site with thousands of pages in the shortest possible time? Then you can look at the introduction of this article, may be helpful to you.
What is SSI?
SSI is an abbreviation
Section 11th-Overloading
PHP4 already has overloaded syntax to build mappings to the external object model, just like Java and COM. PHP5 brings a powerful object-oriented overload that allows programmers to create custom behaviors to access
SUBSTR (string,start,length): This function takes the string starting at the start of string strings with length characters. If start is negative, it is counted from the end of the string. If the omitted parameter length exists, but is a negative
Cookies are powerful and convenient features that provide a range of full variables, and look at the syntax of cookies:
Setcookie (Cookievalue,value,time,path,domain);
Cookievalue is a set cookie variable, value is a variable that sets a value to a
p> PHP as a popular web development language, with its easy to write, powerful features have
have been widely used. However, the application scope of PHP language is limited to some such as BBS, community,
Polling stations and other simple systems.
With Pear::benchmark, you now know how to test your code, how to determine if your code is fast or slow, and which part is slower. So what I'm going to say next is how to eliminate or optimize that part of the slow code.
This point on my personal
At the beginning of this article, the author assumes that the reader has been able to write a user's login certification program.
----------------------------------------------------------
Registers can complete the total number of times to access
Can have a strong search engine is the wish of each site, and a powerful search engine production is quite complex and difficult, it involves the efficiency, accuracy and speed and many other aspects.
The search engine described here does not
There are four cases of simple and complex conversion
The conversion of Chinese characters is divided into inner code conversion and simple multiplication conversion.
Internal code conversion is a simple conversion, but he is mainly between the GB
How long is the session's life cycle?
1 The browser ends at the end of its life cycle, but the archive still exists in/tmp/(Sess_???)
2 The next time you re-open the browser will be reassigned SessionID, if you use session_id () to bring back the
In PHP judging numbers, characters, objects, arrays, etc. include the functions of See Is_bool (), Is_int (), Is_integer (), Is_float (), Is_real (), Is_object (), and Is_array (), I don't know how much you know.
Double Precision number
The template for PHP is really a hassle-prone thing to say. A random number of about 20 kinds of choices, light pear inside contains 5 different templates, it really makes people headache.
Do not say that this good bad, choose the template
Using the PHP Tutorial's http_referer function to determine the user's antecedents, it is simple,
Instance
if (Isset ($_server[' http_referer ')) {Print "The page were on previously is {$_server[' http_referer ']}";} else {print "didn" t
On the temporary processing method that the session cannot be removed automatically
The problem is:
"The session of PHP will always keep the information entered when the user first enters, even if you return to the landing screen and re-login will
Because of the reason for the display, there are some blank spaces in the post that have been removed, causing you to use some errors.
The analysis is as follows:
1, because inadvertently modified, we get such a very good class, always hope to
Dynamic website content Acceleration display is very important, this article through the PHP several functions in-depth discussion, proposed the PHP Web page compression and the buffer solution
Introduction of several functions to control the output
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