Summary of learning the PHP programming language

Source: Internet
Author: User
Tags php programming language php software
1. for layout problems, if a setting in the style sheet conflicts with the webpage setting, the priority of the style sheet prevails. Set various style formats in the CSS style sheet in detail (the new style format will be renamed and added to the CSS style sheet ). 2. Table problems (pixels and percentages) Use pixels to fix the most peripheral table layout, while

1. for layout problems, if a setting in the style sheet conflicts with the webpage setting, the priority of the style sheet prevails. Set various style formats in the CSS style sheet in detail (the new style format will be renamed and added to the CSS style sheet ). 2. Table problems (pixels and percentages) Use pixels to fix the most peripheral table layout, while

1. layout problems

Priority of CSS style sheets

If a setting in a style sheet conflicts with a webpage setting, the priority of the style sheet prevails.

Set various "style Formats" in the CSS style sheet (New Style formats are renamed and added to the CSS style sheet ).

2. Table problems (pixels and percentages)

Use "pixel" to fix the layout of the most peripheral table, and use "percentage" or "Free stretch" to design layout cells or nested tables and set up "interval images" to locate the boundaries of the table.

3. server problems

Web server: Windows uses its own IIS server software, which is commonly used in Linux.

The server running environment is only valid for the server running folder.

4. Database Installation Problems

After the database is installed, you will often be prompted "unable to connect to the Database" or "unable to find the Database". You need to install ODBC (The Connection Program between the database and the webpage output) for connection.

After the database and ODBC are correctly installed, an "Unknown error" or "the current database is not supported" prompt appears, the reason is that the "connection file between the dynamic web page technical interpreter and the database" is not installed. (This connection file can be found in the file of the relevant dynamic web page technical interpreter)

ODBC programs are provided by database developers;

The interpreter and Database Connection Program are provided by the interpreter developer;

5. Download PHP Software

Www.php.net/downloads.php

Http://www.cnphpbb.com/(Chinese phpBB software)

6. Common server software on Linux servers

Apache: Web Server http://www.apache.org/dist/httpd download, open source HTTP server, multi-platform, can be extended by API, Perl/Python interpreter is compiled in it. The compilation module provides many technical support, from the support of the programming language PHP, the Identity Authentication Module such as mod_access, mod_auth and mod_digest. The support of common language interfaces is as follows: perl, Python, and Tcl.

MySQL: Database Server http://www.mysql.com/downloads/index.html

PHP: Server scripting http://www.php.net/downloads.php

ProFTPD: FTP server Co., http://www.proftpd.org/

Vsftpd: Very Secure FTP server http://www.rpmfind.net/linux/redhat/9/en/ OS /i386/RedHat/RPMS

UnrealIRCd: IRC server http://www.unrealircd.com/downloads.php this is a free app for creating chat servers that can easily form chat rooms.

Pptpd: Obtained by the VPN Server http://prdownloads.sourceforge.net/poptop.

JabberD Quickstart: Instant Messaging Server http://jabberd.jabberstudio.org/quickstart it is compatible with jabber protocol client and server component TCP socket connections and so on.

Ample: Network Station server, as well as the formation of various types of servers (such as: Network music server) http://prdownloads.sourceforge.net/ample download, ample using P2P (Peer-to-peer, point-to-point network technology) peer-to-peer networking technology.

7. Network Service Security Issues

Website information classification: Line classification, surface classification, and hybrid classification.

FTP servers: many users can log on using the anonymous user name. You must set directory permissions on the FTP server and do not open the permissions that should not be available to the shared account.

Telnet: the biggest security problem is the plaintext transmission of the user name and password used during login.

Www Service: its security problem is that there is a security vulnerability in the "public gateway interface program", and JavaScript and Active will bring security issues.

Email server: some of its programs are usually run with the root account, which is potentially dangerous. And role spoofing.

Usenet service: security issues of Usenet news.

NFS Network File System: you can connect to a remote file system. Improper configuration will make it easy to reinstall the NFS file system.

8. Log File Signal Analysis

A. Pattern Matching: Compare the collected information with the information in a known database. Low System Burden and high accuracy. However, it is necessary to constantly update the data related to new attack methods;

B. Statistical analysis: Compare the average value of measurement attributes in normal statistical conditions with the behavior of the network and system to determine.

C. Integrity Analysis: focuses on whether a file or object has been changed. It uses a powerful encryption mechanism (called the message digest function) to identify even minor changes. The disadvantage is that it is generally implemented in batches and used for post-event analysis without real-time response.

9. Web Testing

A. browser testing:

Window/result à open the "result" Panel, click "target browser check", click the menu in the upper left corner of the "result" panel, and click Settings in the pop-up menu. (Click "Browse Report" to display related reports)

B. Resolution testing:

In the operating system, set the resolution to 800x600 and 1280x1024 at the lowest.

C. Testing of different operating systems:

Perform debugging in different operating system environments.

D. link test:

Window/result à open the "result" Panel, click "link checker", and click "Check link" to view details.

10. Remote logon software SSH

Generally, the publisher will install the basic Linux system and SSH remote management software for free.

General Unix systems, Linux systems, and FreeBSD systems all come with application packages that support SSH (Secure Shell. SHH can not only replace Telnet, but also provide a secure "channel" for FTP, Pop, and even PPP ".

SHH was initially developed by a Finnish company and is subject to copyright and encryption algorithm restrictions. People generally switch to the free OpenSHH software package.

SHH software: OpenSHH Software Package

SHH remote logon software: F-Secure SHH Client software

Related Learning Websites: http://www.todayonline.cn/

Netease free space application site: http://www.nease.net/

Related Article

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.