WordPress plug-in Development learning (a) HELLO world
WordPress plug-in Development Learning Series first article, append the fixed character "Hello world" after each post
One. Open the WordPress directory->wp-content->plugins
Two. Create a new
Phpstorm Use Tips Summary
工欲善其事, its prerequisite. Having a good tool not only makes a great effort, but also refreshes the spirits.
In the editor, the way I walked is this: Notepad (yes, the most original win under the note), EditPlus, Zendstudio,
PHP Development File Directory processing
1. Open/close file directoryOpening/Closing the file directory is similar to opening/closing files, but if the open file does not exist, a file is created automatically. If the path to the open file is
Regular expression matching rules for PHP core technology and best practices
Regular expression matching rules for PHP core technology and best practices
This article describes several common matching rules.
1. Character groups
Finding numbers,
Then ask the red envelope algorithm, the previous bug, @JXYCYFLM, @
http://bbs.csdn.net/topics/391001579
The previous post is here.
There are problems with the two-bit algorithm.
The revised version given by the moderator is wrong whenever the
PHP Framework
Recently on the Internet to learn the Zend Framework, although can follow the above tutorial to set out the example, but after learning does not know how to use.
Why use frames? What improves efficiency, easy maintenance is not felt.
--
PHP Basic Learning Notes (3)
Variable:
The meaning of a variable is a name that is used to denote a data--one that we define ourselves.
Definition of variable: var v1; var v2 = 2; VAR v3, V4, V5; var V6, v7=7, V8, v9= "abc";
Use of
PHP Interview question: How to know an unknown length of a string which character appears the most times? (strings can be made up of letters, numbers, and other characters), write the code.
How do I know which character has the most occurrences of
Application of time and date of PHP development
1, compare the size of two datesCompare the size of two dates, first by converting the date to a timestamp, and then comparing the timestamp.The sample code is as follows:
$time 1=date ("y-m-d
Discussion on php&.net symmetric compression decompression
http://blog.csdn.net/michaell_zhang/article/details/5979883
C # clients access PHP SOAP WebService, which can reduce network transmission by compression when transferring large amounts of
Fatal Error:call to a member function Fetch_array () on a non-object in
if ($_post[admin_user]!= "" | | $_post[admin_pass]!= "")
{
$conn =new mysqli ("localhost", "root", "DB_WLGL");
$conn->query ("Set names gb2312");
$admin
Exception handling Try catch default will the error message be recorded in Apache log?
Does the try catch write the exception to the Apache error log?
or the manual file_put_contents ();
If the try catch and error handling are automatically
How to pass PHP functions to JS use
Project in back-end PHP has some string handler functions, or string legality detection class
Web front end also need to use, do not want to write JS code alone, maintenance is very troublesome, there will be
PHP Require conditional reference issues
On the internet to see such a message
The Include () function is the same as require (), but there are some differences in usage, include () is a conditional include function, and require () is an
Ask how to implement PHP to modify any content of HTML files after saving the original file name??
For example, there is a 1.html file, you want to use the PHP program to modify any content in 1.html, and then save
1.html For example inside the
PHP Strtotime for explanation
$t = ' 2011-01-31 17:21:22 ';
Print_r (Array (
Date (' Y year m month ', Strtotime ($t)),
Date (' Y year m month ', Strtotime (' + 1 month ', Strtotime ($t))),
Date (' Y year m month ', Strtotime (' + 2 month ',
Problems with reading arrays
I want to set a function to read the basic configuration data (array), but do not know how to set up to deal with various arrays
function Get_base_data ($name, $value) {
$web _data_init=array (
"Currencies" =>array ("GBP"
An array of PHP development (ii)
In the PHP development of the array (a) and you share some basic knowledge of the array, in this blog and you share some of the operations of the group.
1, conversion of strings to arraysThe conversion of strings
PHP wants to click on Monday to get all Monday data for this month novice impatient
I have index.php on the page
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Want to click Monday to get all Monday data for this
On the reform of Web programming architecture
For a long time, the programming MVC architecture has been rooted. With the continuous progress and development of programming language. This architecture has not progressed at all, and we are trying to
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