This article mainly introduces PHP IDE phpstorm common shortcut keys, this article lists the MAC system and Windows system under the Phpstorm shortcut keys, the need for friends can refer to the following
First, Mac computer phpstorm shortcut keys
For advanced versions such as PHP5.5, this article requires the addition of--enable-opcache parameters at compile time
After compiling the installation, we begin to configure the Opcache
The code is as follows:
[Opcache]
Zend_extension = opcache.
This article mainly introduced the PHP simple implementation HTTP and HTTPS Cross-domain sharing Session solution, this article explained the method is relatively simple, needs the friend may refer to under
Session sharing under HTTP and HTTPS
At the end of last year, a variety of Web site account information database leakage, is to force Ah, took the opportunity to download a few databases, ready to learn data analysts to analyze these account information. Although these data information
Now many websites and forums are using anti-theft chain technology, since there are anti-theft chain, then there must be a way to crack the chain of anti-theft, the following small series to provide you with a crack anti-theft chain picture php
An existing function and object are as follows:
var doubling=function (x) {return x*2;};var obj={VAL:100,};
When the
function calls the pattern, this is bound to the global object. This situation can also be reacted when the
/*php Regular extraction of arbitrary attributes in an IMG tag of a picture * * $str = "php to extract or change any attribute ' in the img tag of the picture;
1, take the whole picture codePreg_match ('/]*?srcs*=s* (' | ') (.*?) 1[^>]*?/?s*>/i ',
Many people on the Web have answered: Modify the session.gc_maxlifetime in the PHP configuration file. If you want to learn more about the session recycling mechanism, read on. (This article Environment php5.2)Overview: each time a PHP request, a 1/1
PHP output Variable Enlargement bracket, what is this writing? Look at the following code:
The code is as follows
Copy Code
Header ("content-type:text/html; Charset=utf-8 ");$test = "1 variable 1";echo "preceded by a
echo "The hostname of the current scripting server:". gethostbyaddr ($_server[' remote_addr '). " ";
Echo Gets the IP address of the server on which the PHP script (page) currently runs: ". $_server[' server_addr '." ";
echo "Gets the hostname of
Today found Segmentfault comments inside can paste upload pictures, so the study of how to achieve!
The principle is very simple is to monitor the paste event, and then detect whether the pasted things inside there are pictures, and some words
This article mainly introduced the PHP hash algorithm: TIMES33 algorithm code example, this article directly gives the realization code, needs the friend may refer to under
Recently read a book, which mentions some hash algorithm. More impressive
Today, while testing a PHP program, I found this problem:
Forbidden
You don ' t have permission to access/on this server.
At the beginning I was using http://localhost/test.php to carry out the test, did not find the problem, and then to be
Specific usage
addslashes prevents SQL injection
Although many domestic PHP programmers are still relying on addslashes to prevent SQL injection, it is recommended that you strengthen the Chinese to prevent SQL injection inspection. The problem
One day, meet a problem, ask for one months of today. At first we used the Strtotime ("-1 month") function to evaluate, and found that there was a problem, the month length of the month is not the same as the calculation results are incorrect. For
For the use of the PHP split string explode function, using the EXPLODE function to split the string into an array, here is a summary of a few examples that need a friend to refer to.
PHP array and explode function application examples, for
Maybe we all understand these, as do not understand I guess the meaning of this interface, he is in order to call the next time to call the implementation of the interface in the class of the content, good around the mouth ah, write an example to
This article is a PHP plug-in simple HTML DOM processing HTML in a detailed analysis of the introduction, the need for friends under the reference
Simple_html_dom PluginA tool for processing HTML files with DOMuse:Load simple_html_dom.php File
Copy
This article describes the PHP implementation will upload Word file to HTML method. Share to everyone for your reference. The implementation methods are as follows:
Upload page:
?
1 2 3 4 5 6 7 8 9 10 11 12 13-14
file upload
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