Mod_gzip is a program that can accelerate html pages, working in apache module mode, you can get in the http://www.remotecommunications.com to determine that your apache can use DSO to install modules. First decompress and copy the patch to the
When you register on a forum, there is usually an e-mail address verification function. when you enter an invalid format, an error message will appear. We can use the following rule expression ereg (^ [a-zA-Z0-9 _] @ [a-zA-Z0-9 \-] \. [a-zA-Z0-9 \-\.
1. set phpMyAdmin
Language: Chinese simplified (zh-utf-8)MySQL character set: UTF-8 Unicode (utf8)MySQL connection verification gbk_chinese_ci
2. when creating a database
Set it to gbk_chinese_ci.
3. create a table using SQL
ENGINE = MyISAM
HTMLHEADTITLE: get the element/TITLE/HEAD in the array? $ MonthNamearray (/* defines $ monthName [1] to $ monthName [12] */1 January, February, March, 1_l, May, June, July, August, September, October, november
Obtain the elements in the array.
$
PHP function instructions, application examples, simplified comments, hope to help you learn php. 1. print_r () prints easy-to-understand information about Variables. if it is an array, the structure information of the array is displayed. for
Visitor counters are the most direct way for Web visitors to know the popularity index of the webpage or website. Especially for those who want to make money on the web page, the number of visitors is the best comment for advertisers. Of course, you
[WebService introduction] WebService is generated for the communication of heterogeneous systems. its basic idea is to provide a standard mechanism for remote calls using XML-based HTTP, this eliminates the need to establish a new protocol. At
As a scripting language, PHP is easy to learn and favored by many Web developers. However, PHP also adheres to various defects of the scripting language, such as the large number of codes and low execution efficiency; therefore, optimization is a
PHP does not provide a ready-made smtp function, but provides a mail () function that is not very flexible. this function requires support on server configuration and does not support smtp verification, it is not recommended because it cannot work
1. Chinese problems
When using the MySQL instance configuration tool, set the character set to GBK.
2. password problem: The password set during installation cannot be accessed using phpMyAdmin.
Mysql> SET PASSWORD->'Root' @ 'localhost'=
We all know the importance of databases for the network. due to the complexity of cgi, asp and phpmysql have become the mainstream. almost all personal webpages use message books, but the requested message books are unstable. this has caused a lot
Most people are eager to use databases for counters, message books, forums, and other things. This article will introduce self-made counter programs. First, create 0 ~ 9 put the 10 GIF images in the img folder and create a php file -- count1.php.
This sort record was originally used for our class. because the server does not support mysql, we chose dbm. there is no dbm program in China, and it took almost no night abroad, I wrote it out with almost no reference. it is a very good example of
The system can enter the title, content, images, and related software. when displaying the content, the system determines whether the content is displayed based on whether there are images and related software. when opening the page, the system
Config. php file? Php // your username and password, as well as the database name, and table name are defined here !!! // For fear that the user name and password will be viewed by others through the browser, the php extension will be used, so you
In our website design process, multi-condition queries are often used. the source code of this article is an example of a second-hand house query. In this example, we need to obtain the information required by the customer through multiple
In this forum, less than 200 lines of code are used, and the execution speed is quite fast. The running example is http://www.hnpts.ha.cn/forummysqldata database :yxforum repository | Field | Type | Null | Key | Default | less than 200 lines of code
1. guestbook. php (message program) htmlheadscriptlanguageJavaScript! --! -- Varhellotext for your best browsing effect, please use IE4.0 or later and 800*600 resolution varthetextvarstartedfalsevarstep0vartimes1functionwelc 1. guestbook. php
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