Today there is a need to do a PHP production of two-dimensional Code business card function, online find a bunch, are directly access to the URL, the feeling and demand, evil fill the next knowledge, found that can be defined by a specification of
Note The permissions of the directory before downloading the installation, you can create a new directory for the permissions
1, download Pear.phar, no permission to add sudo in front
curl -O http://pear.php.net/go-pear.phar
2, installation Pear
Introduced
Personal Management System Now there are a lot of problems, welcome to fix bugs and add features.
Today I will refine the login section. QQ Group: 152448006
Address:
Login
The sign-in section says simple is also simple, said difficult
Data-id= "1190000005060322" data-license= "sa" >
In the object-oriented programming of PHP, you will always encounter
class test{ public static function test(){ self::func(); static::func(); } public static function func(){}}
But do you
Data-id= "1190000005058875" data-license= "CC" >
Build and install FileInfo extensions under Centos
0.why complie FileInfo Extension
Today, a colleague to do the function, found that PHP was installed when the FileInfo extension is not
1.yum Install php-mbstring
If it is Remi, then yum--enablerepo=remi install php-mbstring
2.vim/etc/php.ini
Open the mbstring related options.
[Mbstring]; Language for internal character representation.
;
Introduction to the viewer pattern
The Observer pattern (Observer) perfectly separated the observer from the observed object. For example, the user interface can be used as an observer, the business data is the Observer, the user interface observes
What is a PHP file?
PHP files can contain text, HTML, CSS, and PHP codeThe PHP code executes on the server, and the result is returned in plain text to the browserThe suffix of the PHP file is ". php"
What can PHP do?
PHP can generate dynamic page
The example in this paper describes the method of converting the color hex value to RGB by PHP. Share to everyone for your reference, as follows:
function Hex2rgb ($colour) { if ($colour [0] = = ' # ') { $colour = substr ($colour, 1);
Individual Learning Notes (one)
On demand: Send SMS when goods are sold
HTML code omitted .....
Model code omitted .....
1/*2 * -------------------------------------------------3* Modify State Public4* AUTHOR:LZP time:2016-05-275 * -----
What PHP is:
PHP is a computer-run scripting language, her founder is Rasmus Loedorf, the first two PHP version was developed by this person, the original intention of developing PHP language is relatively simple, is to maintain personal web pages,
The Filter_var () function filters variables by the specified filter.
If successful, returns the filtered data, or false if it fails.
Grammar
Filter_var (variable, filter, options) variable: required. Specifies the variables to filter.
Filter:
Purpose of Study:
Block machine requests to ensure that the business is not disturbed by machine submission requests.
Why to block:
In General Service-side business, write requests consume much more than read requests.
Technical points:
1.
Error 1:
nginx: [Emerg] mkdir () "/var/tmp/nginx/client/" failed (2:no such file or directory)
[Root@localhost nginx-1.6.2]# Nginxnginx: [Emerg] mkdir () "/var/tmp/nginx/client/" failed (2:no such file or directory) Problems that do not exist
This article is for everyone to share PHP support breakpoint continuation, block download class, for your reference, the specific content as follows
$content _length) { $exists _data = Array (' length ' = = $content _length,); }//write
When session sessions are turned on, a cookie that uniquely identifies session_id to the browser (named Phpsessid can be obtained via Session_name () is sent first, with Session.save_handler = Files, a file with no suffix is generated under the
This article describes a simple way for PHP to get check box values. Share to everyone for your reference, as follows:
Html:
Php:
";}? >
More about PHP related content readers can view the topic: "PHP Socket Usage Summary", "PHP
The process of learning PHP, sorting out some of the commonly used functions, which are string functions.
Header ("Content-type:text/html;charset=utf-8");Delete both sides (single-sided) spaces or other pre-defined characters$str = "# #hello
First of all, http://nginx.org/download/download a version of the Nginx package that you need. Download using wget
If you need to redirect the installation of the corresponding package
Yum-y Install pcre*wget http://nginx.org/download/nginx-1.7.8.
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