Some articles are referenced in the configuration process, both in English and Chinese. But they are not completely solved. After some toss finally can debug, now record as follows, hope to Yimeimei some help.
1. Installing Xdebug
First step: Get
PHP Native Interface
PHP Native Interface (PNI) is a php extension this enables PHP code to call and being called by Native applications (Programs Specific to a hardware and operating system platform) and libraries written in other languages such as
JS code is as follows
function submitapply () {var form = global.getelement ("#submitForm"); var UserName = global.getelement (form, ' input[name= ' name '] '). Value; var Mobile = global.getelement (form, ' input[name= ' Tel '] '). Value;
The recursive functions are as follows:
/*** recursively gets the subclass of the specified category * @params $categories array of all classes of arrays * @params $parent _id int parent class ID defaults to top class * @return $arr array gets to
We here is a simple use of PHP to simulate login and then to the QQ space to send an article of a simple program, there is a need for friends can refer to, or improve can give me comments, code as follows:
$method, ' header ' = ' $header, '
PHP uses file storage to implement caching
In some database data record large, but the server is limited, maybe a MySQL query will be good hundreds of milliseconds, a simple page generally also has more than 10 queries, this time also a page load
PHP7 will be officially released in October 2015, let's take a look at the PHP7 features given by the official website
Official website: http://www.php7.ca/https://wiki.php.net/phpng
PHP7 new features (what would be in PHP 7/phpng)
Performance
??
0x00
Because there is nothing to update the blog, I will do the current things to summarize, as a blog, mainly to talk about some of the technology used in the project. At present, there are many automated audit tools on the market, open
Often there are students or netizens so ask me, poor I was asked the dizzy. Let's start with a couple of things to summarize.
Good situation:
1, do not exclude some people have talent, IQ high brain benevolence large. Quick to get started, this
The following foo () is not called because they are "shorted" by the operator.
$a = (false && foo ());
$b = (true | | foo ());
$c = (False and foo ());
$d = (true or foo ());
"| |" has a higher priority than "or"
$e = False | | True $e is
Overview
To access the contents of a variable, you can use its name directly. If the variable is an array, you can use a combination of the variable name and keyword or index to access its contents.
Like other variables, you can change the
Under Windows, run php-cgi error as follows:
D:\php>php-cgi.exe-b 127.0.0.1:9000-c php.ini
PHP warning:php startup:in Unknown on line 0
Warning: PHP startup:in Unknown on line 0
PHP warning:php startup:in Unknown on line 0
Warning: PHP
Title
Data, easy to save data, open a browser settings to automatically refresh it,
But how do you get the Linux server to boot automatically and timing?
Reply to discussion (solution)
Use Crontab to execute PHP No, execute crul fear local URL
1 Policy Mode Introduction The policy pattern defines a series of algorithms, encapsulates each algorithm, and allows them to be replaced with each other. The policy pattern makes the algorithm independent of the customers who use it.
2 pattern
Recently learning the Smarty framework
See some. tpl files that are written in HTML and PHP code
What is the difference between a. TPL and. php
(Personal idea: pure PHP code is used in.. TPL for mixed code such as PHP php+html)
Reply to
Ask a pseudo-static question
I was making that Whois query pseudo-static.
Http://whois.hangye5.com/womai.cn this one.
Rewriteengine on
Rewritebase/
ErrorDocument
I am a student, only MacBook, recently to learn PHP, want to configure the PHP development environment on my OS X Yosemite 10.10.3, because the teacher is in class with Windows under the Apache+mysql+netbeans, So also want to configure the same
Linux system, after the successful installation of PHP, in the bin directory will generate a name phpize executable script, the purpose of this script is to dynamically install the PHP extension module.
The benefit of installing PHP extensions with
Randomly select a line in the 1.2.3.4 text and then combine it into one sentence, such as:
What to do, to eat, that's great, huh?
Or
Good, full, what to do, happy
Reply to discussion (solution)
$filenames =array (' 1.txt ', ' 2.txt ', '
These cached PHP files are placed in the cache directory such as:
a.php
b.php
c.php
The contents of these PHP files are some cached data, which I store in an array format:
such as: a.php file
$AARR =array (
' AAA ' = ' 111 ',
' BBB ' = ' 222 ',
'
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