Php summary 3.0-basic functions, loops in Process Control, php3.0
3.1 basic php functions (mathematics, date, string)
Mathematical functions: max mixed max (number $ arg1, number $ arg2 ,......) Finding the maximum value in a set of data indicates
This article describes how to solve thinkphp verification code that cannot be displayed. For more information, see ThinkPHP.
In the php configuration file php. ini, search for extension = php_gd2.dll and remove the semicolon;
1. add a verify
A server is being configured recently, mainly in the lamp environment. Lamp is used because the traffic volume is not large, and lnmp environment can be used for the traffic volume. Here, I installed the lamp environment. linux environment:
Root cause and analysis of page garbled text. First, close the PHP configuration file php. default_charset in ini: 1. charset is not specified on the page, defaultcharstgbk is configured in Apache, and the page file encoding is UTF-8 result: Garbled.
For details about how to disable the PHP error message. The simplest way is to directly add the following code to the php program code: Copy the code as follows: error_reporting (E_ALL ^ E_NOTICE ^ E_WARNING ); the simplest way to disable all notice
PHP learning notes: install and configure the php environment under IIS7. For more information, see how to install Php.
Php version selection
Php in windows (php5.4.7) has two versions:
VC9 x86 Non Thread Safe Non-Thread security model run in
PHP basic learning summary. Lexical Structure 1. in PHP, keywords, function names, and class names are case-insensitive, but variable names are case-sensitive. 2. semicolon, space, line feed, braces in PHP, points
Lexical Structure1. in PHP,
This article mainly introduces the summary of common string formatting functions in PHP. the functions described in this article are frequently used on the WEB, for example, functions such as space filling and string filling, case-sensitive
Godaddy space ZendOptimizer upgrade method. However, when installing the test program today, the system prompts zendOptimizernotinstalled. this makes me very confused. why is zend not installed in such a common space? then I will check info. php,
Php complete form processing implementation code. After processing a complete form, we will create a complex form. the code is as follows. The copy code is as follows: formactionsomeform. phpmethodposttablebor a complete form processing
The
The project encountered a problem, that is, how to connect to Oracle for development in Windows. Almost all examples are based on Mysql, and Oracle connection itself is complicated on Windows. Here is a short story. I only want to record the useful
My experience is: After MYSQL is successfully installed, you must first set a password for it. This step is indispensable. (In the beginning, the installation fails due to greed.) this article only represents my personal opinions and experiences,
This article describes how to build and install a non-integrated php runtime environment (Apache configuration, Mysql, interested friends can refer to this article to share with you the php runtime environment installation text tutorial, for your
PHP is a function-based HTML language. its huge function library can help us achieve many functional requirements. Here we will introduce in detail some function concepts contained in PHP information functions. For more information, see some
Php provides a complete solution to the Cannotmodifyheaderinformation problem. Obviously, this is because of setcookie. I checked the Internet and explained the following: the cookie itself has some restrictions, for example: 1. the reason for
Install and configure WindowsPHP5 and Apache. 1. download and install Apache. Download PHP from www. apache. orgdyncloser. cgihttpdbinarieswin32. Download PHP from www.php.net. 2. install Apache. 1. download the installation program.
Apache can be
The following uses PHP5 as an example to describe how to install and configure Apache and PHP5 in Windows. Apache
1. download the installer
Apache can be downloaded from http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/
PHP can be
Summarize some PHP information functions for you. Getenv □applicable version of the PHP information function: PHP3, PHP4 □function function: obtain the environmental variable value. □Function syntax: stringgetenv (stringvarname) □function
1. install Apache to the official site of Apache, htp: www.apache.orgdist. download apache_1_3_x.win32.exe to your local machine and install it to c: Apache. If there is nothing wrong with the installation, Apache will be ready to use after the
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.