PHP version is 5.3.22 non-thread safe
Database SQL Server R2, not on the same server, LAN
IIS6.0 Win2003
According to the Baidu installed
Microsoft SQL Server R2 Native Client (Sqlnlci.msi)
SQL Server Driver for PHP 2.0
First release path: Phpredis installation
A long time did not write blog, a lot of posts are not finished, today just take time to finish this blog post, I hope to have a certain help to everyone
Let's start with a brief introduction to Redis:
A statistical table of blood pressure is to be done recently.
For example, the database is this:
UserID Sys Dia PUL time
----------------------------------------------------
User1 88 90 78 time stamp
User2 93 100 90 Time stamp
........
........
...
Convert Xx.gif xx.jpg will take the GIF frame apart as a lot of independent xx-1.jpg, Xx-2.jpg, xx-3.jpg ....
There is no parameter can only take a certain frame, my demand is very simple is not to let GIF pictures move. Take a picture of one of the
Using the light cloud server provided by WAN, the following information is prompted when connecting to MySQL database: server [qdm-011.hichina.com] Connection failed!
Error code: 2000
Error message: MYSQLND cannot connect to MySQL 4.1+ using the old
Turn off the error prompt and return to the 500 status.
But whenever the error prompts, he returns 200 regardless of the error. It's bad, it's hard to find the problem
Master, how to display the error message, but also in the wrong time to
1. Parser mode//parser content class//for storing the result of the expression, and can return the results of the original record according to the passed expression class interpretercontext{private $expressionstore =array (); Put the object in an
Today do information collection page encountered a strange problem, study for a long time to find the root cause of the problem, it is a bit strange indeed.
(the younger brother often uses the C #, Java and other languages, PHP only occasionally in
Install memcached when this, in Baidu download Pthread.dll, put in SysWow64 under, run regsvr32 pthreadgc2.dll load failed, download a few DLLs or so, rookie toss for a long time, haven't solved, Ask God for help.
Reply to discussion (solution)
Upload files bypassing your server directly to the cloud storage, can now be implemented?
Reply to discussion (solution)
It is not possible, the data of the uploaded file is packaged in the HTTP packet, and the PHP program does not start until
Directory
Full parsing of PHP classes and objects (i)
Full parsing of PHP classes and objects (ii)
Full parsing of PHP classes and objects (iii)
7.Static keywords
Declaring a class member or method as static can be accessed directly without
Real-time Change (daily) data from a large number of data queries, resulting in loading takes a long time, ask how to optimize
For example, the user list has a user A he invited a lot of members a1,a2,a3 ... An, member A1 also invited a lot of
Manipulation of strings
1. Remove the leading and trailing spaces and special characters of a string
function trim () to remove characters from the start position and end position
Syntax string trim (String str[, String charlist]), where charlist is
Simulate four arrays:
$list [' a '] = array (All-in-all);
$list [' b '] = array (4,5,6);
$list [' c '] = array (7,8,9);
The requirements are combined into this: 14,15,16,17,18,19,24,25,26,27,28,29,34,35,36,37,38,39,47,48,49,57,58,59,67,68,69
2015-04-23 12:16:58
Today to view the project deployed on the SAE, suddenly see the SAE's log, found that there are several abnormal links in the request verification code, so suddenly germination to do a prevent verification code crawl function.
has been developed using win7x64, a Web server with a php5.5 built-in Web server,
Yesterday suddenly found a problem, the same code, on Win7 and CentOS, the results are different:
Var_dump (intval (' 21474836470 '));
Output on Win7: int
When building a PHP environment, we usually do not install all the extensions, and as the requirements continue to increase, you may need to install new extensions, and here is an easy way to install them. Here is an example of the ev.so extension.
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