This article by the code Farm-Wangguo original translation, reproduced please see the text at the end of the reprint requirements, welcome to join the technical translation team!
Want to build a chat app, or even a game? Then, the socket server
What do you mean regular expressions
Regular expressions are a logical formula for manipulating strings by combining certain characters into a regular string called a regular matching pattern.
$p = '/apple/'; $str = "Apple Banna"; if (Preg_match
Transferred from: http://blog.csdn.net/yang1982_0907/article/details/39026295
I. Environmental description
Operating system: CentOS 6.4 x86_64
Java:jdk-1.7.0_51
Second, install PHP
Run the following command in the shell:
Yum install-y php
the TCP/IP , UDP , Socket you're not a stranger to programming these words, are you? With the development of network technology, these words are filled with our ears. Then I would like to ask:1. What is TCP/IP,UDP?2. Where is the Socket ?3. What is
Introduction
For the first time, the translation of other people's articles, with level four English translation ~ ~ Embarrassed, there may be a lot of inappropriate places, despite making bricks (some places really can't think of the right
LBS, which stores the latitude and longitude coordinates of each location, searches for nearby locations and establishes a geographical index to improve query efficiency.
MongoDB geolocation Index,2d and 2dsphere, corresponds to planar and
String processing is a common operation, and Zend encapsulates a lot of macros related to string manipulation, first look at zval_string and Zval_stringl
#define ZVAL_STRING(z, s, duplicate) do { \constchar *__s=(s); \ zval
A Magic Method:
1. The Magic method begins with "__" and is the syntax sugar of PHP. Syntactic sugars are a more useful coding method or technique that makes code easier to read.
2. __set and __get
$name = $value; } Public Function __get (
PHP supports 3 styles of annotations
1.c++ style (//) Comments
This comment cannot appear with the?> tag, if the Short_open and Asp_tag settings are turned on,> and%> also cannot appear in comments
PHP echo ' hello,php! '; // I am a
In PHP, the access control of the property or method is implemented in front of the public private protected and other keywords, public decorated class members can be accessed anywhere, private decorated class members can only be accessed by
Tangled up the day, and finally the correct use of the HTML tags, the applicability of their respective clearly understood, here is a simple summary to avoid making similar mistakes.
It's all because of a problem like this
To run the above code,
1wamp Introduction
Wampserve integrates Apache, MySQL, PHP, phpMyAdmin, Apache-enabled mod_rewrite,php extensions, Apache modules only need to be on the menu "on/Off" point on the spot, eliminating the hassle of modifying the configuration file,
Scenario: The project has two different ways of handling AJAX requests and ordinary requests, such as error handling, which jumps to the debug page when the browser accesses an error. such as (this is the framework of their own writing, style copy
Under Windows PHP+APACHE2 Development environment Construction
PHP thread-safe and non-thread-safe Version Selection # # # #
Reference: http://windows.php.net/download/
If you is using PHP as FastCGI with IIS should use the Non-thread
Example:
Why do you want to learn PHP
Subjective reasons:
Some time ago in the school to deal with the graduation of some things, back to Shanghai began to find a job journey. Intentional work is either WPF development or ASP. NET as a backend web
I downloaded the
Nginx
source version is not tested, by date is
-
years
7
the latest version of the month. Unpack the package to get the source folder, go to the root directory to find a few subdirectories:
Auto
,
conf
,
Contrib
,
Docs
,
Misc
,
src
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