Tutorials | Application instance PHP generate WAP page
WAP (Wireless Communication Protocol) is an open global standard for communication between digital mobile phones, personal handheld devices (PDAs, etc.) and computers. Because the static WAP
What is the definition and usage of the PHP chdir () function? In PHP, the chdir () function is to change the current directory, what it means is to get the current directory, a directory, your current directory is the Www/index directory, when
Console applications are primarily used to implement offline operations required for online Web applications, such as code generation, search index compilation, mail sending, and so on. The YII Framework provides a framework for writing console
Objective:
In the previous we introduced two-point lookup, interpolation lookup. The interpolation lookup is an improvement on the binary lookup. Similarly, the protagonist of this blog, Fibonacci Lookup, is also an improvement on binary search
My implementation of the method, mainly to the Java generated key to PHP can recognize the key in PEM format, the other add-sign, check the use of call OpenSSL built-in signature method.
The key generated by Java is primarily a string, whereas the
Previously, the ID was directly used as a get parameter in the front-end of a variety of transmission, such as
a.com?uid=16Such address, if the user found this rule, as long as the 16 changed to 17, 18, 19 and so on, you can view the data of
Self-developed a package, which uses provider to register the service, but it is useful to the Config () method to get the configuration, the problem is that the config file has not been publish, I feel that my thinking is not right ah.
The code is
Today try to write a PHP and C language through the socket communication program, read the PHP manual, found that there are several ways to establish a socket client.
1, through Fsockopen () to establish a socket connection, and then use Fputs ()
Although the previous use of tinyint and other preservation, but found that business logic is often changed, the number sequence is disrupted, and the naked eye becomes difficult to identify, if you directly execute SQL statements in the database
Optimizer+ is the first and fastest opcode caching tool for Zend developed closed-source, but free-to-use PHP optimization acceleration components. Now, Zend technology company will optimizer+ under PHP License open source becomes Zend Opcache.
The
Occasionally stroll down, leetcode lintcode brush the title site, the knowledge of the algorithm data structure, but found generally can only use, java javascript and python so on brush.
So I hope to have a PHP brush with the exchange, if it is
As a Linux program developers, must have encountered makefile, with make command to compile their own written program is indeed very convenient. In general, it is not easy to write a simple makefile by hand, if you want to write a makefile that
Ways to enable and deactivate a site
A2ensite Site name A2dissite Station Roll Call
Name-based virtual host (distinguished by domain name)
After installing Apache, there is a virtual host called default. When you create a new virtual host, you can
1, through $_server[' http_user_agent '] to write a PHP to determine the browser type method.
Function My_get_browser () { if (empty ($_server[' http_user_agent ')) { Return ' command line, the robot is coming! '; } if (False!==strpos ($_server[
Short link, in layman's terms, is to convert long URL urls into short URL strings through program calculations.
In this case, the advantages are: 1, content needs, 2, user-friendly, 3, easy to manage.
Early short links are widely used in image
Through the following code, you can ldap_bind detection authentication, but do not know how to change the password to do;
$domain = ' sclivein.com ';$ad = Ldap_connect ("192.168.1.100") or Die (' Could does connect to LDAP server.
install git program
Contos
Yum Install–y Epel-release
Yum install–y git
Ubuntu
Sudo apt-get Install git
Install on Windows
Https://git-scm.com/download/win
The final step is required after Setup is complete
git config--global user.name
Author: Polaris (php@yeah.net)
First, the basic principle
Netscape EnterPRise Server executes CGI programs in two ways.
Specifies a directory that contains only CGI programs, all programs in that directory, whatever the suffix is executed, the
How to generate UUID in PHP, the method of survival uuid.
The code is as follows:
function guid () {if (function_exists (' Com_create_guid ')) {return com_create_guid ();} Else{mt_srand (Double) microtime () *10000)//optional for PHP 4.2.0 and up.
Build PHP Runtime Environment tool with one click
1.APMServ
http://apmserv.s135.com/
Domestic research and development, powerful, simple operation, no need to install, just a little mouse, you can in their own computer fool automatically build a
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.