This article is a detailed analysis of the use of Phpize. For friends who need it, please refer to When installing (FastCGI mode), there is often such a command:/usr/local/webserver/php/bin/phpize 1. What is Phpize?PHPIZE What is it? PHP official description:http://php.net/manual/en/install.pecl.phpize.phpPHPIZE is used to expand the PHP extension module. Through PHPIZE, the plug -in module of PHP […]
Double Saspense CPU 32G memory server made arrays 1 after replacing a bad hard disk, no array
After replacing the bad drive, after the system re -recognizes Primary, the original main disk is invalid. If the old disk inserting the old disk into the system at this time will cause Summary of processing process 1. After replacing the bad hard disk, after the system re -recognizes Primary, the original main disk […]
Android play video when playing video, switch between the cause of no change between the stereo and the monocular road
Use a third -party video player with a switch between stereo and monochrome. It is found that there is no effect after switching. The reason is that the STEREO to Mono is not processed by the HAL layer. Some customers and customers use a third -party video player, switch between stereo and single -sound roads, […]
Application instance analysis based on PHP Socket (FSOCKOPEN)
This article is a detailed analysis and introduction to the application instance of PHP Socket (FSOCKOPEN). FSOCKOPEN function can be used. First of all, you must start the allow_url_open = on;FSOCKOPEN is a encapsulation of the Socket client code. This function encapsulates socket_create, socket_connect.Server code: server.php Copy codecode is as follows: <?phperror_reporting(E_ALL);set_time_limit(0);$address = ‘127.0.0.1’;$port = […]
Use PHP to implement the browser click to download the TXT document in detail.
This article is analyzed and introduced in detail the method of implementing the browser with PHP to download the TXT document. For friends who need it, please refer to Since the current browser can already identify the TXT document format, if you only make a text link for the TXT document, you can just open […]
pHP unlimited classification (tree shape) in -depth analysis
This article is a detailed analysis and introduction to the PHP unlimited classification (tree -shaped category). pHP infinite classification, Google can find a lot of relevant information at once, the idea is more windy, and the classification table is used at least the three fields of ID, PID, name. Category, name is a classification name, […]
jquery picture rolling picture effect (alternative implementation)
jquery picture rolling picture effect (alternative implementation), friends who need it can refer to it Demand: When the picture is switched, the next screen does not allow a blank item. In other words, it is: 1. When the number of movement of the movement of the move is less than the number to be displayed, […]
Android uses the direction sensor to obtain the relative angle instance of the mobile phone
The following introduces the relative angle of your favorite mobile phone with the use of the direction sensor to obtain the mobile phone. Friends who don’t know can refer to it. 1. How is the coordinate system ofandroid defined X, Y Z axis The direction of the X -axis is from left to right along […]
The current owner of the SQL Server object is changed to the target owner
Database operation, when the list of database objects is not only an ordinary element -ObjectName, you will use Objectowner.objectName to quote the object, but if the owner of the object in the current database needs to use the system storage process SP_CHANGEOBJECTOWNENer (click on Here is more detailed) sp_changeobjectowner Change the owner of the object […]
Android wakelock Using method code instance
Wakelock How to use the code instance, friends who need it can refer to it Android provides a class called Wakelock in Android.os.powerManager.Wakelock. From the name perspective, Wakelock means wake -up lock. It can control the backlight switch of the screen, so in the power management category.Wakelock instantiation method is relatively simple, because it is […]
ANDROID gallery vertical screen does not display the solution of Status Bar The behavior of the
Gallery on the version of JB and JB2 is: the full screen of the horizontal screen is displayed, the vertical screen will display the Status Bar, the behavior displayed on the version of the JB and JB2 is: the full screen of the horizontal screen display, the vertical screen will display Status BAR, the specific […]
js operates the SELECT drop -down box dynamic change (creation/delete/acquisition)
dynamic creation and delete Select, add and delete options OPTION, get the value of option Option, get the text Option text, etc. 1. Dynamic creation of select Copy codecode is as follows: function createSelect(){ var mySelect = document.createElement_x(“select”); mySelect.id = “mySelect”; document.body.appendChild(mySelect); } 2. Add option Option Copy codecode is as follows: function addOption(){ // […]
Window 7/XP The process of installation Apache 2.4 and PHP 5.4 details
This article is a detailed analysis of the process of installing Apache 2.4 and PHP 5.4 in Window 7/XP. 1. Download addressApache 5.4 —— httpd-2.4.4-win32.zipPHP 5.4 —— php-5.4.15-Win32-VC9-x86.zipNote that the security version of the VC9 thread has included PHP and Apache Connector DLL, so there is no need to download this DLL.2, configuration1. ApacheUse any […]
WEB site to get the security method of user IP http_x_Forwarded_FOR test
Through the previous article, we can obtain common security hazards in the common method of user IP addresses (http_x_Forwards). We have realized that you read the user IP directly from the http_x_Forwardded_For, and it is no different from us from a get, post value. A basic principle in the web parameter detection: “All inputs are […]
js memory leakage discusses in detail
Memory leak refers to a distributed memory that cannot be used nor recovered until the browser process ends. Because the browser garbage recovery method has bugs, it will produce memory leaks. Condition Memory leak refers to a piece of memory that is allocated and cannot be recycled until the browser process ends. In C ++, […]
Solution without Sizeof find the INT size
This article is a detailed analysis and introduction to the method that does not need SIZEOF to find the INT size. code is shown below: Copy codecode is as follows: #include <stdio.h> int main(int argc, char *argv[]) { int a[2]; unsigned int add1 = &a[0]; unsigned int add2 = &a[1]; printf(“The […]
Seek the maximum value of the UNSIGNED INT on the 32 -bit machine and the maximum value of the INT
This article is analyzed in detail about the maximum value of the UNSIGNED INT on the 32 -bit machine and the maximum value of the INT. Copy codecode is as follows: #include <stdio.h>int main(int argc, char *argv[]){ unsigned int max_int = 0-1; printf(“The max value of unsigned int on 32 machine: %u/n”, max_int);} Copy codecode is as […]
SQL data type detailed explanation
(1) Binary data type binary data includesbinary, varbinary and imageBINARY data type can be both fixed length or variable length.binary [(n)] is a fixed binary data in N -bit. Among them, the range of n is from 1 to 8000. The size of its storage is N + 4 bytes.varbinary [(n)] is a binary data […]
FLEX printing operation
If you want to use the paging effect, you must use the label “PrintadVANCEDATAGRID” (label in Flex3) to achieve the paging effect. Interested friends can refer to it. First import import mx.printing.flexprintjob;import mx.printing.PrintAdvancedDataGrid; 1. Use FlexprintJob for printing operation1. If there is no pagination and drop -down box Copy codecode is as follows: public function […]
FLEX TREE dynamic loading a large amount of data and rolling bar related issues
This article will discuss the issues related to the dynamic loading of Flex’s TREE dynamic loading and rolling bar. Interested friends can refer to it. I hope it will be helpful to you Use ArrayCollection to make data source pits. There are almost no examples on the Internet. In fact, tens of thousands of data […]