Http://html2pdf.fr/en/default (Home page of the class library, GitHub at the top of the point, to download the class library)
Once downloaded, it is used in Yii. Because its file structure does not conform to Yii's automatic loading mode, we
1,session the method when the object is passed.In general, the session only needs to save some basic types of data, such as strings.However, if you are customizing the class, you need to use serialization and deserialization
1.1,$UserData = new ....
Ways to improve query speed with data above millions:
1. Try to avoid using the! = or <> operator in the WHERE clause, or discard the engine for a full table scan using the index.
2. To optimize the query, avoid
Centos+mono+nginx+jexus build Linux C # run environment test
----Centos 7.0 installation of Mono 3.4 and Jexus 5.6----Quoted http://www.cnblogs.com/shanyou/p/3887223.html
First, update the system, install the compilation environment, prepare for
Nginx compile, add an Ngx_cache_purge installation module
Download Nginx and third party Ngx_cache_purge module on official websiteHttp://wiki.nginx.org/Installhttp://labs.frickle.com/nginx_ngx_cache_purge/
Compiling and installing
A year ago in the summer, I was still struggling to change, do you want to learn PHP? Can you learn the real skills? Will the change be successful? Too many problems, I finally desperate, determined to resign from the work, to the legendary Royal
My server environment is:
Ubuntu 14.04 64-bit
Install Apache2:
sudo apt-get install apache2
To install the PHP module:
sudo apt-get install php5
Install MySQL
sudo apt-get install
At the very beginning, when we use one or more classes, it is generally necessary to use the require or include function to introduce the class before it can be used;
But when there are so many classes in a project, we have to introduce them all
Recently in the process of learning PHP found PHP format timestamp 8 hours later than Beijing time, internet search found that the original time zone is not correct, the solution is:
1. Permanent modification
Change Data.timezone in php.ini file =
apache2.2 How to configure multiple virtual directories
Catalog 1 Domain 1
Catalog 2 Domain 2
Catalog 3 Domain 3
But access to 3 domains refers to the directory 1
It's okay to switch to apache2.4.
The reasons are:
apache2.2
json_encode () output data
just know UTF-8 ., all in the output data, pay attention to the data encoding format!!!
Solution:
If you have a ANSI encoded string, using
Utf8_encode () is the
wrong function to deal with
The variables sent over HTTP POST are not displayed in the URL.
When we use $_post to accept the message, we can use the Php://input to accept the value, then they are different.
First, the $http_raw_post_data is empty when $_post and
Page (page) is the smallest unit of memory allocation
The memory allocation for Memcached is in page, by default a page is 1M, which can be specified at startup by the-I parameter. If you need to request memory,memcached divides a new page and
There are two ways in which PHP uses SOAP. First, use the WSDL file server side.
soap_1_2); $server->setclass ("service"); $server->handle (); > Resource description files, which can be generated using tools (Zend Studio). is actually an XML file.
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