Phpexcel, the operation of Excel is very convenient, especially can easily add pictures, support jpg gif png format.
Download Address: Http://www.codeplex.com/PHPExcel
Here is a summary of several ways to use
Include ' phpexcel.php ';Include '
SimpleXML provides a simple and fast method of XML operation, which greatly improves the efficiency of XML operation. But sometimes careless can bring a little trouble, look at the following code:
$xml = simplexml_load_string (
Title
Pchart is an open source chart generation library, mainly involving 3 Class:pChart.class, Pdata.class, Pcache.class, can generate more than 20 kinds of simple or complex charts, support Png,jpg,gif general image format. The data source can come from
Memcache function library is in pecl (PHP Extension Community Library), the main role is to build large-capacity memory data
Temporary storage area, in the distribution of the effect is very obvious, otherwise it is not recommended. I installed on
PHP configuration function is a few ini_* functions, mainly for the operation of the configuration file, in fact, four functions: Ini_get, Ini_set, Ini_get_all, Ini_restore. The most useful thing about personal feeling is ini_set and ini_get.
* Ini_
First look at the extension of JQ as follows:
City selected
JQuery.fn.cityselect = function (N,S1,S2,S3) {if ((n!=3) && (n!=2)) {n=2};if (s1== "") {s1= "province"};if (s2== "") {s2= "city"};if (s3== "") {s3= "area"};
if (n==2) {//two-level
Compared to the cookie,session is stored on the server side of the session, relatively safe, and does not have the same storage length as the Cookie limit, this article briefly introduces the use of the session.
Since the session is stored as a
Echo"Hello World";Echo"This spansMultiple lines. The newlines would beOutput as well ";Echo"This spansmultiple lines. The newlines would beoutput as well. ";Echo"Escaping characters is do" like this ".";//You can use variables inside of an echo
We write the user authentication page, such as registration, login, in order to enhance the security of user login, add verification code verification.
Verification code through GD generated PNG images, and $randval random numbers assigned to
1. If a method can be static, then declare that he is static, the speed can be increased by 1/4;
2.echo is more efficient than print, because Echo has no return value, and print returns an integer type;
3. Set the maximum number of cycles before
Recently, when looking at a cow's code, see a very useful function: Extract (), its main function is to expand the array, the key name as the variable name, the element value is the variable value, you can say that the operation of the array
Write a few identity card aspects of the function, personal feeling is very useful, especially in the network questionnaire survey, the identification of personal information on the ID is very useful, but should be few, or collected in their own
Today suddenly encountered the problem of PHP, found this article, very old article, but very practical, next I will tidy up the updated php5 arrayPHP4.0 has more than 30 new array-related functions. Many of these general functions allow you to
In the forum for a long time no how formally published things, today to share my collection code!Ideas:The idea of collecting the program is very simple and can be divided into the following steps:1. Get the remote file source code
Using the Mod_gzip module in Apache, we can use the GZIP compression algorithm to compress the Web content published by the Apache server before it is transferred to the client's browser. If the content is plain text, the effect is very obvious,
Ask questionsA few days ago did a very strange project, my company developed a set of China Unicom SGIP Protocol, SP-terminal short Message service software, providing unicom 130 SMS service. The system is under Windows 2000, the database is
The controller "controllers"
Simply put, the function of the controller is to accept the request. It uses the obtained method, where a function module is loaded through a URI to refresh or submit a presentation layer. The controller uses the $_get
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