Define ('discuz _ root', substr (dirname (_ file _), 0,-7 ));
This is a constant that defines the Forum installation root directory in discuz. Now let's analyze this simple but practical constant.
First describe this articleArticleAssume that the
The IMG tag of the collected image contains a lot of JavaScript scripts and useless information. You must replace what you want, such as alt. Let's take a look at the content to be filtered. I just copied it:
CopyCode Code: sdfsdfsdf 500) {This.
// Create a DBASE data table
Int dbase_create (string filename, array fields)// Open the DBASE data table
Int dbase_open (string filename, int flags)// Close the DBASE table
Boolean dbase_close (INT dbase_identifier)// Clear the DBASE data
I wrote a piece
Article How to extend ZF in zf0.6. This is a similar article, but the environment is changed to zf1.0rc1.
Before starting the ZF extension, we recommend that you first check some command specifications in the ZF Manual
A relatively good PHP calendar Code Copy code The Code is as follows: /*** Calendar** Copyright (c) 2007 by Chen (Deep Space). All Rights Reserved* To contact the author write to {@ link mailto: shenkong@php.net}* @ Author Chen
Phing-A Project Construction System
Phing is a Project Construction System Based on Apache ant. Its name is phing is not GNU make. Phing can do anything that can be done by a traditional build system such as GNU make without steep learning curves.
Instructions for using the header () function:
I. role:~~~~~~~~~PHP only sends the HTML document header to the browser using the HTTP protocol to tell the browser how to handle the page. As for the transmitted content, you need to familiarize
01. lxblog Blog system This is a blog system launched by phpwind. It is worth recommending. There are not many PHP multi-user blogs in China. If your English is poor, you can only use this system!
The phpwind Blog system is a set of multi-user blog
CopyCode The Code is as follows: $ _ server ['HTTP _ accept_language '] // browser Language
$ _ Server ['remote _ ADDR '] // ip address of the current user.
$ _ Server ['remote _ host'] // host name of the current user
$ _ Server ['request _ URI '] /
In the column directory, *. txt in dir *. txt or ls *. txt is not a regular expression, because here * is different from the regular expression.
A regular expression is a text mode consisting of common characters (such as characters A to Z) and
1. cgi (Common Gateway Interface/Common Gateway Interface) is generally executable
Program For example, the EXE file and the Web server occupy different processes. Generally, a CGI program can only process one user request. In this way, when the
1. character location search function:
Strpos ($ STR, search, [int]): searches for the first position of search in $ STR starting from int;
Stripos ($ STR, search, [int]): the position where the string first appears in another string. This function
Chart Library The following class library allows you to easily create complex charts and images. Of course, they need the support of the GD library. Pchart -A database that allows you to create statistical charts. Libchart -This is also a simple
No changes are made here. Keep the default option.
Click the Browse button to change the installation directory to D.
Change the Web server port to 85 to avoid conflict with IIS.
The installation is complete because the Zend server
What is memcache?
Memcache is a danga.com project that was first used for livejournal. Many people around the world use this cache project to build their own websites with high load to share the pressure on databases.
It can cope with any number
Er, in most cases, it is possible, but some aspects are still very troublesome. Let's take a look at it.
Many languages provide very elegant and beautiful methods for operating arrays. In the following example, the closure function provided by PHP5.3
11. class inheritance
Inheritance, as one of the three important features of object-oriented, plays an extremely important role in the Object-Oriented field,
It seems that I have never heard of any object-oriented language that does not support
1. object-oriented concepts
Object-Oriented Programming (Object Oriented Programming, OOP, Object-Oriented Programming) is a computer Programming architecture, one basic principle of OOP is that a computer program is composed of a single unit or
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