In the SOA architecture, programmers often use XML to exchange structured and semi-structured data between applications. XML and its related technologies-Document Object model (Doc object model,dom), XPath, HTTP, XQuery, and Extensible Stylesheet
Date format Detailed description
All functions in PHP are in the Unix era, starting January 1, 1970. The date is the number of seconds from this time onwards. When a function call is counted as the number of seconds from this time, it is treated as
If there is more than one check box with the same name in a form, there is only one value when committing to PHP, not a comma-delimited value like ASP. There is an easy way to fix this: add a check box to the name followed by [], for example:
Switch
Core and service, public model, plug-ins, widgets, third-party class library together constitute a big foundation of the system, all other applications are built on it. The term explains the core: derived from the thinkphp framework, which provides
1. How are variables defined? How do I check if a variable is defined? How do I delete a variable? A function that determines whether a variable is empty?
Isset ()
Unset ()
Empty ()
2. What are mutable variables?The variable name of a variable can
Drupal's view is so good but in some cases we want to adapt to their own needs to dynamically modify the query conditions, this is not enough, then we will tell you a great way to modify the view query criteria, and you can also add the query
1 Arrays In this section we describe an array of PHP, in PHP, arrays are implemented using Hashtable. In this section, we introduce the Hashtable in detail, and then talk about how to use the HastTable1.1 variable-length structure of the so-called
[PHP]/*
*+ -------------------------------
* Calculate day start and end time stamp to date data
*+ ------------------------------
*/
$daybegin =strtotime (Date ("YMD"));
$dayend = $begin +86400;
$query = "SELECT * from ' info ' WHERE
PHP Optimization for PHP optimization is mainly related to the php.ini in the main parameters of the reasonable adjustment and settings, the following we will look at some of the php.ini in the performance of a large number of parameters should be
Database query results sometimes can not be used directly, such as MySQL with in statements out of the results, so need to sort the results in some way.
Example 4. To sort the results of a database
In this example, each cell in the data array
Today is the Waterfall Flow message board front desk backstage finished. Let's enjoy it.
The things that I learned today
Serialize () serialization
Unserialize () crossdress line
By these two functions, two functions of Config_set () and
First confirm: When we install PHP, we specify its installation directory:--PREFIX=/VAR/LIB/PHP5, and directory/home/guanli/php-5.4.9 is the path that we unzipped. Tar.gz, that is, the source code path.
For example, installing the Bcmath module
#
The so-called curd. That is, four basic operations on database operations (curd): c:create (Create), u:update (update), R:read (read), and D:detele (delete).
In thinkphp, it is not certain to use the methods of these names, here are the common:
[PHP]
Regular expressions and style matching
$find = "Love";//defines the variable to find
$result =preg_match ("/$find/", "I Love you,xiaohei!"); /The first parameter is the one you want to find
Variable, the second argument is a
get_include_path-getting the current include_path configuration options
String Get_include_path (void)
set_include_path-Setting include_path configuration optionsString Set_include_path (String $new _include_path)
First Set_include_path This
PHP Connection Access Oracle is using the OCI function, the following is a collated document
1. Installing Apache and PHP Packages
Yum install-y httpd php*
2. Download Oracle
Citation: Due to database requirements, the database is changed from the original gbk2312 code to Utf-8, in order to facilitate data interaction to reduce the problem caused by coding inconsistencies,
Need to transcode the site to the entire
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