What is PHP? PHP ("PHP: HypertextPreprocessor", short for Hypertext Preprocessor) is a widely used open-source multi-purpose scripting language that can be embedded into HTML, especially suitable for WEB development. The above is a simple
What is
1. separating from HTML will be ignored by the PHP parser for any content other than the start and end tags, so that the PHP file can have mixed content. PHP can be embedded into HTML documents, as shown in the following example. & Lt; p & gt;
(1) __file__:p hp program file name. It can help us get the current file in the physical location of the server.(2) __line__:P HP program file line number. It can tell us the current code in the first few lines.(3) Php_version: The version number of
One, PHP script with dynamic page. PHP script is a server-side script, can be embedded and other methods and HTML files can be mixed, or class, function encapsulation and other forms, in the form of templates to the user request processing. In any
PHP can do anything. PHP is mainly used for script programs on the server end. Therefore, PHP can be used to complete the work that can be done by any other CGI program, such as collecting form data, generating dynamic webpages, or sending/receiving
http just Born is 0.9 version, only supports the transfer of simple text files. one html file is achievable and will be dispersed over multiple or one web server html page, which is called html language. There are resources on the
Programmers who have written php+mysql know that there is a time lag, Unix timestamps and formatted dates are two time representations that we often deal with, Unix timestamp storage, easy processing, but not intuitive, formatted date intuitive, but
Find what was found in the mysql help document during mysql_pconnect, and record it here.
The web server uses php to generate a web page in three ways:
I. Use PHP as CGI Wrapper. In this way, each request to reach the web server will cause a php
LAMP Environment PHP how the Cache accelerator works lamp=linux+apache+mysql+php1. Apache receives the client's PHP program request and filters it according to the rules.2.Apache sends PHP program request to PHP processing module libphp5.so.The
What is PHP? PHP ("Php:hypertext preprocessor", the acronym for Hypertext Preprocessor) is a widely used, open-source, multipurpose scripting language that can be embedded in HTML, especially for Web development.The above is a simple answer, but
I have always been a loyal fan of editplus and have little experience in using editplus. after switching to vim, it took a lot of effort to convert some habits and gradually broke away from editplus. It can be seen that a handy editor is still
Programmers who have written PHP + MySQL know that there is a time difference. UNIX timestamps and formatting dates are two forms of time representation that we often deal with. The Unix timestamps are easy to store and process, but not intuitive,
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development
Meet System constantsSystem constants are constants that PHP has already defined, and we can use them directly, and common system constants are:(1) __file__:p hp program file name. It can help us get the current file in the physical location of the
I. PHP scripts and dynamic pages. A PHP script is a server-side scripting program that can be mixed with HTML files by embedding methods, classes, function encapsulation, and other forms to process user requests in a template. Regardless of the
Copyright Disclaimer: You can reprint the document at will. During reprinting, you must mark the original source and author information of the article as hyperlinks and this statement.This article from: http://www.otm.cn Author: Matrix @ Two_Max
Let'
PHP constant knowledge sorting, php constant knowledge sorting
Constants in PHP are divided into custom constants and system constants.
Constant features:
After setting, the constant value cannot be changed.
The constant name does not need to
Objective
The PHP script can be placed anywhere in the document. This article mainly includes the following content:
PHP tags
Detach from HTML
Instruction delimiter
Comments
PHP tags
PHP script to
end with:
What can PHP do?
I want to know exactly how powerful PHP is and what PHP can do. Who can satisfy my thirst for curiosity? Thank you
------Solution--------------------
PHP can do anything, PHP scripts are mainly used in the following three areas:
1
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.