Hide Apache and PHP version information, Web server avoids some unnecessary trouble, can put Apache and PHP version information does not show
Hide Apache Version Information
/etc/apache2/apache2.conf or/etc/httpd/conf/httpd.conf
Servertokens
A sudden whim to think that they have been using apache+php mode, want to understand the iis+php mode. It's Jiuqu 18, right?
Part I: In the form of ISAPI.dll expansion
The result according to the information above said I just can't find a
The example in this article describes how PHP accurately obtains file MIME types. Share to everyone for your reference. The implementation methods are as follows: ?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26-27-
How to use the PHP array to weight the millions of data
In the usual work, often received to the website of the members of the station letter, cell phone messages, emails for mass information notification, the user list is generally provided by
1. Using single quotes to contain strings is faster than double quotes to contain strings. Because PHP searches for variables in a string enclosed in double quotes, single quotes do not. 2. If you can define the method of a class as static, try to
Page WAP (Wireless Communication Protocol) is an open global standard for communication between digital mobile phones, personal handheld devices (PDAs, etc.) and computers. Because the static WAP page can not satisfy the user's personalized service
Chinese Character | conversion
The conversion of Chinese characters in PHP has always been a tricky business.
First of all, two points:1.GBK traditional characters are not Big5, but the general characters have corresponding big code2. A GBK code
The process of configuring PHP and MySQL is omitted, if under Ubuntu, refer to Ubuntu 10.04 installation Memo.
1. Basic grammar
The way to embed PHP scripts in HTML code is to write the code in . The Echo or print function is used to output data
' Or 1=1' or ' 1=1'/*'%23' and password= ' MypassId=-1 Union Select 1,1,1Id=-1 Union Select char (), char (), char (97)Id=1 Union select 1,1,1 from membersId=1 Union select 1,1,1 from adminId=1 Union select 1,1,1 from userUserid=1 and
Ping Service, blog program provides a notification mechanism for the first time to post updates to the blog to provide ping service services site, write the aggregation of the time studied
Ping Service, blog program provides a notification mechanism
In fact, we can also set the permissions of each folder so that Apache users can only do what we want it to do, and create a single user who can read and write to each directory. This is also the current popular configuration of many virtual host
index.htm File Contents:
The following are the referenced contents:{sortlist}index.php content:?$t->set_file ("Index", "index.htm");$t->set_block ("Index", "Rowsort", "Rowssort");................................................. $list
Example two: Using XSLT to transform XML through Xalan 1.2
As a second example, we used the Xalan-java XSLT engine, which came from the Apache XML project, where we were able to transform XML source files using XSL. This will greatly facilitate our
Author: Polaris (php@yeah.net)
First, the basic principle
Netscape Enterprise Server executes CGI programs in two ways.
Specifies a directory that contains only CGI programs, all programs that are in that directory, regardless of what suffix name
Program Multi-File upload system full version
Include (".. /include/common.inc ");
$title = "Upload program for multiple files";
Include (".. /include/header.inc ");
Define the number of files allowed to be uploaded
Define ("Upload_no", 10);
Echo
Templates can improve the structure of your site. This article explains how to use templates to control page layouts in a Web site composed of a large number of static HTML pages through a new feature and template class in PHP 4.
Outline:
=======
This is a PHP access QQ online status program. The principle is very simple, omit not to say, can see the code. Using the interactive state of the service to take the state.
The usage is also simple, the incoming parameter is QQ number, function
Typically, our web page will specify a coded character set, such as GB2312, UTF-8, iso-8859-1, and so on, so that we can display the text we specify on the page. But we are likely to encounter the situation where we may want to display Chinese
Code optimization
Often require programmers to have good programming habits, to minimize the emergence of redundant code, there are many tools to complete this function, for the general HTML files, to reduce the redundancy of the weight loss
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