[Original]ajax Realization User Registration Function Tutorial two ', '
//
This tutorial by the original site, reproduced please specify to place
Author: www.drise.cn
E-mail: drise@163.com
qq:271728967
//
The first reg.php file above has been done,
The object-oriented features in PHP support C + + type:: operational symbols!!!
Lone wolf: this:: In the pear, but often appear, the first time I saw the time I was confused:)
This feature document does not have any description, but it has good use
MySQL database is divided into two types, one is the traditional data table format, one is to support transaction processing data table format (INNODB,BDB, which is dominated by InnoDB), let me introduce the MySQL transaction processing database
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
I remember the first time I approached CGI, it was curious and strange. Now have been able to write their own program, but this is also a tortuous in the middle of the detour, now I am also very able to understand some novice face 500Internal Server
[PHP]
; PHP is also a constantly evolving tool, and its functionality is constantly being truncated.
; And PHP.ini's settings change can reflect a considerable change,
; It's good to study php.ini before using the new PHP version.
;;;;;;;;;;;;;;;;;;;
PHP anti-injection is one of the technologies that our programmers must understand and hold, let me introduce some security practices for sensitive information in our programs.
The simple point is that you do not want to let others know the
PHP itself has some problems with the old version, such as php4.3.10 and php5.0.3 before there are some serious bugs, so we recommend the use of the new version. In addition, the current noisy and vigorous SQL injection also has a lot of use in PHP,
PHP supports a number of different types of databases such as native mode and full ODBC, including:
Adabas D
Mysql
DBase
Oracle
Empress
PostgreSQL
Filepro
Solid
Informix
Sybase
InterBase
Velocis
MSQL
Unix dbm
Options FollowSymLinks
AllowOverride None
Apache servers can control access to documents for the directory, but access control can be accessed through two
In the setup file httpd.conf (or access.conf) for each of the
The other way is to set the
Install Apache1.3.12+gd1.8.3+php4.04+tomcat+sybase11.9.2+oracle8.1.6+mysql all in RedHat6.2
Read many online users of PHP, JSP, Sybase, Oracle, Apache and other aspects of the installation experience, found that there are many are repeated and
Anywhere liuxiLzl@163.net
PHP installation procedures, the Internet has a lot of information, are very detailed. However, since the installation of free software such as apache,php does not have a friendly user interface like commercial software,
PHP Simple Data Save Program
PHP Simple Data Save Program
Include (DirName (__file__). /inc/gg_function.php ');
if ($_post){$_cname = get_value (' CNAME ', 1);$_address = Get_value (' caddress ', 1);$_tel = Get_value (' Ctel ', 1);$_fix =
PHP Tutorial. ini MAGIC_QUOTES_GPC Configuration anti-injection method
1. The MAGIC_QUOTES_GPC option in PHP config file php.ini is not turned on and is set to off2. The developer does not check and escape the data typeBut in fact, the 2nd is the
Super simple PHP picture statistics, this kind of statistical device I used to do with a TXT file, and now directly use the database to implement it. Let's take a look at the data structure.
CREATE TABLE ' Count ' (' id ' int (ten) is not NULL auto_
PHP Tutorial MySQL Tutorial database Tutorial Connection Class
This database connection class, he will automatically load SQL anti-injection function, filtering some sensitive SQL query keywords, but also can increase the Judgment Field Show table
PHP Universal anti-injection is mainly to filter some SQL commands and PHP post get the reference we/to filter some illegal characters, so as to prevent the basic injection, that the installation of the Apache server Setup method is also necessary.
When you want to prevent a page attack, you can include an anti-attack file on the head of the page, like a generic anti-injection file. We can do it in three situations:
1. Reference within each file. Such a file is possible, but it is inconvenient
This is a more comprehensive combination of PHP and SQL anti-injection program, in PHP convenient mainly to get,post,cooke,files filter, in SQL we have delete,update some query commands to detect filtering.
The general idea of SQL injection attack
•
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