Comparing the two PHP program codes, what do you think is their programming level? Censor. class. php

Source: Internet
Author: User
Comparing the two PHP program codes, what do you think is the programming level? Censor. class. php: a censor review and submit two different files of the string class (attached to DEDECMS). the same function is provided for your review ~ What are their levels? If you are an examiner, how do you choose? Why? Involving MySQL data tables: compare two PHP program codes. what do you think is the programming level? Censor. class. php
Function: a censor class that submits a string for review (attached to DEDECMS)
Two different works and the same function are used for review ~ What are their levels?
If you are an examiner, how do you choose? Why?


MySQL data table involved: gk_info_censor

mysql> desc gk_info_censor;
+-------------+----------------------+------+-----+---------+----------------+
| Field       | Type                 | Null | Key | Default | Extra          |
+-------------+----------------------+------+-----+---------+----------------+
| id          | smallint(6) unsigned | NO   | PRI | NULL    | auto_increment |
| admin       | varchar(15)          | NO   |     |         |                |
| type        | smallint(6)          | NO   |     | 1       |                |
| find        | varchar(255)         | NO   | UNI |         |                |
| replacement | varchar(255)         | NO   |     |         |                |
| extra       | varchar(255)         | NO   |     |         |                |
| count       | int(11)              | NO   |     | 0       |                |
| updatetime  | int(11)              | NO   |     | NULL    |                |
| tids        | mediumtext           | NO   |     | NULL    |                |
| enable      | tinyint(1)           | NO   |     | -1      |                |
+-------------+----------------------+------+-----+---------+----------------+

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.