[Happy to be original] configuration of php and apache, apache
1. e: \ PHPCMS \ Apache2.2 \ conf \ httpd. add the php setting in conf, which is probably in line 130. # Add LoadModule php5_module "E:/PHPCMS/PHP5/php5apache2_2.dll" to LoadModule vhost_
PHP design pattern-Observer Pattern
Observer mode (sometimes referred to as publish-subscribe mode ). In this mode, a target object manages all observer objects that depend on it and actively sends notifications when its status changes. This
Php cyclically implements the display of one row and two columns in table.
first column Column 2 ' ;}?>
For example, if it is another character type, Function Conversion is required:
Result:
Array ([0] => Hello [1] => world. [2] =>
Php reads and writes tab-separated files,
The example in this article describes how php implements the separation of reading and writing tabs. Share it with you for your reference. The specific analysis is as follows:
This php Code reads and writes
Php converts the uploaded word file to html,
This example describes how to convert a word file to html in php. Share it with you for your reference. The specific implementation method is as follows:
Upload page:
File Upload
Receiving
PHP filters out non-Chinese characters and retains only Chinese Characters
This article mainly introduces how to filter out non-Chinese Characters in PHP and retain only Chinese characters. This article provides the implementation code directly.
PHPiconv function, known function fx
Today, when I was modifying the paper online, I encountered the iconv function. Learn moreHeader ('content-Type: application/vnd. ms-excel; charset = UTF-8 "');$ Name = iconv ('utf-8', 'gb2312', $ data ['Year']. '
PHP Opcache installation and configuration methods, phpopcache
For advanced versions such as PHP5.5, The -- enable-opcache parameter must be added during compilation.
After compilation and installation, we start to configure OpcacheCopy codeThe
Php implements the checkdnsrr function of the window Platform
This article mainly introduces how php implements the checkdnsrr function of the window platform. The built-in checkdnsrr function of PHP is only valid on the linux platform. This
PHP simple implementation of HTTP and HTTPS cross-domain Sharing session Solution
This article mainly introduces PHP's simple solution for implementing HTTP and HTTPS cross-domain sharing sessions. The method described in this article is relatively
Php splits strings randomly into arrays of different lengths. php string length arrays
This example describes how php randomly Splits a string into arrays of different lengths. Share it with you for your reference. The specific analysis is as
Php uses socket post to send data to other web servers. socketpost
This example describes how php uses socket post to send data to other web servers. Share it with you for your reference. The specific implementation method is as follows:
Function
Share the memcache cache operations in php and cache memcache
To use memcache, you must configure the memcahche environment on the server! After confirming that memcahce can be connected normally, it can be used in the program!
mem = new Memcache ()
Php determines whether the website is accessed by android, ios, or wp.
Next, Let's organize a php Website access example to determine whether it is android, ios, or wp. It is very practical and helpful to all of you.
In php, you can use $ _ SERVER
How to operate memcache in php
In general, if the concurrency is not large, it does not affect the use of the cache technology. However, if the concurrency is high, it is very important to use the cache technology, it can effectively reduce the
Analysis of differences between isset and array_key_exists in PHP
This article describes the differences between isset and array_key_exists in PHP. Share it with you for your reference. The specific analysis is as follows:
1. the array values are
Php randomly splits strings into arrays of different lengths
This example describes how php randomly Splits a string into arrays of different lengths. Share it with you for your reference. The specific analysis is as follows:
Here, php is used to
Php simple data cache class, php Data Cache
The company's mobile phone touch screen station, because there are too many page images, so you need to do data cache, just write a data cache class.
Directly paste code
/**** Fianl_m@foxmail.com* Cache
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