There is a relationship between these two windows. the parent window is parent.htmopen window son.htm. opener points to the parent window. in this way, you can access the objects in the parent window. advantage: convenient value. only window. opener
Jincoo (crawler from RUTED. COM) we know that the same function name cannot be used in PHP to define the function twice. if so, an error occurs during program execution. However, we will extract some common user-defined functions and put them into
Classqswh P> conversion of UTF8 Chinese characters using GBK Unicode
Converting Chinese characters in php has always been a problem.
This class has four built-in filters "& # [dec];", "& # x [hex];", "% u [hex]", "utf8 conversion"It is convenient
Okay? $ Text e-book library; preg_match_all ([x80-xff]?., $ Text, $ ar); foreach ($ ar [0] as $ v) echo #. utf8_unicod the following example converts gb2312 to uft-8 in this form
The iconv function after php4.3.1 is very useful, but you only need to
Some new users are not very familiar with regular expressions. it is necessary to make a brief review here. If you are a regular expression expert, you do not need to look at this part. A regular expression is a string that describes a string set.
Can php add some automatically updated content to your webpage at intervals to attract visitors? This function does not require too much advanced programming knowledge. please refer to the following example: (1) Let's look at a simple application:
I. INTRODUCTION although in general, your website is often quite simple and does not require databases at all; but in some cases, your website may want to restrict the storage of some pages. 1. Introduction
Although in general, your website is
Cookie is a powerful and convenient function. It provides a full range of variables to see the cookie syntax: setcookie (cookievalue, value, time, path, domain ); cookievalue is the set cookie variable. value is the variable that sets the value to
The verification code is required for background login, and SessionID is required for foreground user tracking. of course, the default PHP will have a SessionID after the Session is enabled, but I need my own, and can be stored in the database, so I
The transmission efficiency of commercial websites is very important. in some e-commerce websites, the response speed of servers determines the service quality, the load of the server determines its maximum accessible capacity to customers.
The use of arrays in php is at least simpler than that in C. in general php programs, the concept of arrays is rarely used, and more judgments, loops, and cookies are used, however, it is very important to master the array application skills,
1. in a function, returning an array is more efficient than using global, for example, functionuserloginfo ($ usertemp) {$ detailexplode (|, $ usertemp); return $ detail ;} $ loginuserloginfo ($ userdb); compared with functionuserloginfo ($ usertemp)
PHP contains optional XML extensions that support the Expat parser. The XML-related functions in PHP allow you to create a parser to process valid XML documents. If your Apache version is 1.3.7, you do not need to add any function libraries. All you
Currently, the www chat room basically adopts the frame method. you can use frame or iframe to see what you like. my traditional frame method is print (lt; framesetrows *, 0, 0, 0border0gt; n); print (lt; framesetcols660, 118rows * gt; n); main
This is the command center of the chat room. all commands must be sent here. 1. below is the basic sending form code lt; formnameinputformactionmessagesend. phptargetblonsubmitreturn (checksay (); methodPOSTgt; lt ;? The following two parameters are
Summary XML stands for ExtensibleMarkupLanguage (abbreviation of eXtensibleMarkupLanguage, which is an extensible markup language ). XML is a set of rules for defining semantic tags that divide documents into many parts and identify them. It is also
In recent years, the World Wide Web (also known as the World Wide Information Network (WWW) has continuously changed the face of information processing technologies. WEB has quickly become an effective medium for people to communicate and
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