PHP is a very popular open source server-side scripting language, and most of the sites you see on the World Wide Web are developed using PHP. However, you are probably surprised to notice that a small number of people swear to be far away from PHP.
First, the error classification of PHP1. Syntax errorsSyntax error does not execute arbitrary code in PHP script file2. Run-time errorErrors that occur during code execution3. Logic ErrorSyntax errors do not occur, run-time errors do not occur, and
Http://www.viphper.com/?p=28 1. The time format of the day before printing with PHP is 2006-5-10 22:21:21 (2 minutes) $a = Date ("y-m-d h:i:s", Strtotime ("1 day"));Print_r ($a);2, Echo (), print (), Print_r () difference (3 points) Echo and print
Some misconceptions about PHP programming, and clarification, are worth pondering, and some are just a figment of the shadows. In any case, let's look at these misconceptions together.1. PHP is an object-oriented language, but not based on
Through this class,1. Understanding the APPSERV directory structure2. We can understand the basic syntax structure of PHP1 My Appserv installation directory is e-drive:① using the command line to operate the Apache serverApache server open and close:
As a developer, you'll often see news on the web that doesn't use XX. And as the most popular open source server-side scripting language, PHP is also difficult to escape such a fate. As everyone knows, gold no can't pure, no perfect, and then
One of the advantages of PHP is that the speed of the general Web application, can be said to be enough. However, if the site's access is high, with narrow or other factors causing the server performance bottlenecks, you may have to think of other
Now in the PHP framework for a lot of discussion, I think there are two main problems: the first blind worship framework, that the adoption of framework design is Orthodox, otherwise it is not inflow, is a rookie. followed by The imitation of Java
Objective
This article describes the use of a jump in PHP header("location:test.php") to pay attention to the following points to help solve some novice frequently encountered problems
One, location and ":" No space between the number, or there
Collected from the Internet, is said to be Yahoo's face test questions.
1. Which of the following won't add John to the users array?
1. $users [] = ' John ';
2. Array_add ($users, ' John '); Wrong
3. Array_push ($users, ' John ');
4. $users | | = '
The end identifier must start with the first column of the row. Likewise, identifiers must follow the naming rules for any other label in PHP: They can only contain alphanumeric underlines and must begin with an underscore or non-numeric
When you write a piece of code in PHP recently, you use to determine whether a value is in another set of values. The In_array function is used to check whether a value exists in the array. Directly through the concept of understanding more
What is a PHP variable?
A variable is a container for storing information;
Second, the grammatical format
$ variable name = 1;
Three, PHP variable rules
1. The variable begins with the $ symbol, followed by the name of the variable;
2. The variable
In HTML and PHP writing, echo can output multiple strings at the same time, and does not require parentheses.
Print can output only one string at a time, requiring parentheses.
The use of print is similar to the C language, so you will have a
This article illustrates the solution of Chinese garbled code when PHP generates two-dimensional codes. Share to everyone for your reference. The specific analysis is as follows:
Recently done a scan two-dimensional code to get a vcard project,
Data research tool for solving defects of output and probability functions
The 1th part of this article series refers to the missing three elements in the simple linear regression (Linear regression) class. In this article, the author Paul Meagher
The web in the eyes of most web developers, ASP and JSP are considered to be the leader, and PHP is considered a weak "struggling", or it is a demeaning to the amateur to use the language, it is not worth participating in the enterprise Web
Introduction | speed | One of the advantages of doing PHP is that it is fast, and for general Web applications, it's enough to say. However, if the site's access is high, with narrow or other factors causing the server performance bottlenecks, you
1, php.ini on the file upload instructions
2, File upload process
(1) Upload file Submission Form HTML code:
Adminstration-upoload new files
upload new files
upload a file
triggers the control, when the
PHP 4 will no longer support PHP group by the end of this year. So in order to let everyone more confident transfer to the PHP 5 platform, I specifically did this test to see if our PHP 4.x really performance than our PHP 5.x better pinch, test
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.