[PHP]
; PHP is still an evolving tool, and its functionality is constantly being pruned
; and PHP.ini's setting changes can reflect quite a change,
; Before using the new PHP version, it would be helpful to look at the php.ini.
;;;;;;;;;;;;;;;;;;;
;
Install pear
--------------
Pear is a php extension and application library that contains a number of useful classes, and after installing php5.0, pear is not actually installed, and the installation method is as follows:
1. Double-click
Because of the need to connect Oracle, from two development and page style, personally feel that Phpmydatagrid is still relatively good. This article first introduces the usage based on MySQL, and then briefly introduces two development for Oracle
1, support Mass
2, Chinese into pinyin send
If you need to mass multiple accounts in English comma (, (86159..,86159), message content does not support Chinese, when you enter Chinese, the system will automatically convert to pinyin (in order to
The examples in this article describe the characteristics of the PHP class. Share to everyone for your reference, specific as follows:
Object down-Passing attribute
When an object invokes an instance method and then statically invokes the method
PHP itself does not support multithreading, but we can use other methods to implement multiple threads, such as shell services, such as Web servers, this article we talk about how these two methods to achieve. Need a friend can refer to.
The effect I want to achieve is simple, I have two modules, home, WeChat.
Http://localhost/index.php/home/index/index shortened to: Http://localhost/index/index
Http://localhost/index.php/wechat/index/index shortened to:
Friend A: The request is based on a string of strings, inverted into a PHP array, which gives the string to the PHP Print_r printed out. We do not consider whether this method can ensure the accuracy of the data, as well as other contingencies, only
Each person's study way is different, writes this article The goal is to share one's own learning process, only for the reference, do not blindly use other people's study method, find to oneself useful learning way
Original: Negoo (Fang
PHP uses FTP to implement file upload code snippets:
' IP ', ' Port ' =>, ' user ' => ' userName ', ' pwd ' =>
' Password '); /** * Open and Log on server * * @param string $flag Server identification Test * @return Mixed * 0:
Objective
An SSL certificate is an SSL protocol that is issued by a trusted digital certification authority CA After authenticating the server, with server authentication and data transfer encryption. The following is an example of how to view SSL
PCNTL extensions can support multithreaded operations in PHP (Linux only)
The original need to recompile PHP back configrue hint plus--enable-pcntl
Since my PHP is installed using yum, I can't use the above method
Here's how to add an extension
Don't say much, we look at the code directly
Gets the domain name or host address
echo $_server[' Http_host ']. ";
Get page address
echo $_server[' php_self ']. " ";
Gets the URL parameter
echo $_server["Query_string"]. " ";
Get user
However, in addition to the installation section, there is more or less a description of Windows, and the other parts are the same for all platforms. By the way, for the installation section, please see the Installation guide for this site. In this
Highlight:
1, the use of PHP can also achieve the page div cutting processing. Here, we hope that readers can provide a more perfect solution.
2, cutting processing method has been encapsulated into a method, can be directly referenced.
3, by the
In the mysq to introduce a lot of pages, and text data table-style page of the introduction of little, here I simply say the page
Mainly introduce the following page-flipping ideas
1, the page of the message book
2, the Text forum page
————————————
This article analyzes the solution of PHP's batch task processing without timeout. Share to everyone for your reference, specific as follows:
PHP Bulk Task Processing
PHP in the batch processing tasks will time out, in fact, the solution is very
The example of this article describes the approach of PHP for IP address mask operation. Share to everyone for your reference, specific as follows:
IP Resolution:
function Ip_parse ($ip _str) {
$mark _len =;
if (Strpos ($ip _str, "/") > 0)
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