In discuz! Subject in posts, Huitie, PM, etc. are not filtered, so you can add code.
For example
Http://xxx/post.php?action=newthread&fid=2...cript%3E%3Cb%22
The effect is to pop up your cookie first
How to use: Put the above code in the
Author: Well in the month
Java is a very powerful programming tool, its extension library is also very useful, this tutorial, mainly on how to use PHP to call the powerful Java class Library (classes). To facilitate your learning, this tutorial
The Array_merge () function merges two or more arrays into an array.
If the key name is duplicated, the key's key value is the value corresponding to the last key name (followed by overwriting the previous one). If the array is a numeric index, the
This article introduces PHP functions Ob_start (), Ob_end_clean (), ob_get_contents (), a friend of the need to refer to.
Use of the following 3 functions
Ob_get_contents ()-Returns the contents of the output buffer
Ob_get_contents
(PHP 4, PHP 5)
ob_
PHP Code:--------------------------------------------------------------------------------
/**
* Medium-speed version, moderate memory usage, for general needs or large pieces of text with a large number of repeating words
* @text: String to convert
Tree-Type Forum recursive acceleration
The General forum is recursive to the entire table
If only recursive result, then the speed will be much faster, moreover, access to result is to access the server memory.
We generally use the following
In PHP development often appear undefined index this error, let's see how to summarize it.
Usually use $_post['],$_get['] to get the form parameters will appear notice:undefined index:--------;
Server Configuration ModificationsModify the php.ini
What is a virtual hosting service
The so-called virtual hosting service refers to the virtual machine into multiple Web servers. For example, a company wants to engage in providing colocation services, which provide Web services to other businesses.
There are many ways to generate random numbers in PHP. Rand () is just one more mt_rand () This function can also be generated, the difference I will not say the following to see.
The rand () function returns a random integer.
GrammarRAND (Min,max)
The bulk upload method is also very simple we just add a name=\ "pictures[]\" array to the form, and then use the foreach ($_files[\ "pictures\"][\ "error\"] as $key = $error) The Move_uploaded_file ($tmp _name, $uploadfile) were used to determine
This is a basic PHP primer tutorial that tells you how to get the values of the parameters passed over by the hyperlink, the most common among the values of the page and the page.
Connection 1, "> Connection field
Connection 2, Connection fields
In
This is a simple PHP and MySQL data query data Simple introductory article, we talked about the most important functions of the detailed introduction, the need for students to see.
The code is as follows
Copy Code
Link
In PHP, there are specific functions for file or directory operations, such as Fopen,rdir,filesize,opendir,readdir,fcolse,fread, which are file and directory manipulation functions.
Second, directory operation
The first introduction is a function
To get the file suffix in PHP There are a lot of ads, such as PHP function PathInfo results $extend[\ "extension\" is a good way, behind the folk custom have to know friends can also refer to.
Using the PathInfo function
The code is
Delete files and delete directories in PHP We all use unlink Delete implementation Delete, if you want to delete is not empty directory mainly using Readdir and opendir to traverse the directory.
The code is as follows
Copy Code
The declaration of the constructor is the same as the declaration of the other operation, except that its name must be __construct (), which encapsulates the object's properties and services into a separate, identical unit and, as far as possible,
The simplest of the most practical PHP mobile phone number Regular expression, there is a need for friends to refer to.
Mobile: 134, 135, 136, 137, 138, 139, 150, 151, 157 (TD), 158, 159, 187, 188
Unicom: 130, 131, 132, 152, 155, 156, 185,
PHP when the variable is 0 o'clock, the variable is also "equal to" false, then how to distinguish between 0 and false? This is useful in some conditional statements, as illustrated in this article.
First look at the code:
The function of this code
PHP uses the Require function to load a UTF8 file with a blank line, because when editing a file in a Windows environment, there are several characters that recognize UTF8, which are called Unicode signatures (BOMs).
Require use methods such as
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