Learn PHP from the beginning to delight the international village, for several months, learned a lot of things, I wrote an example to hope a little useful.
The PHP program accesses the database and can use the stored procedure completely,
Some
Two days ago saw a post here ... Have jpgraph this east, think it is really very practical, really help us in the graphic statistics of a lot of effort, so has been tried, and later saw:
Note:this information is the only given here for very advanced
Stylesheet
PHP is a weapon chosen by many warriors in the field of web development because it is a very intuitive programming language with powerful functions, good cross-platform compatibility, and it is free. PHP's shadow can be seen from small
Here a lot of people use Apache, very few people release 2000 simple configuration instructions, I wrote a little bit, is also considered to be shared!
Install MySQL first, the default installation path is: C:mysql; After the installation is
Code:--------------------------------------------------------------------------------
Prohibit Shielding class:
1. Disable Right-click
2. Prohibit selection
3. Prohibit pasting
4. Direct access is prohibited [must be within the
The main hint is that you cannot connect to the server through '/tmp/mysql.sock ', while the PHP standard configuration is using '/tmp/mysql.sock ', but some MySQL installation methods will mysql.sock in/var/lib/ Mysql.sock or any other place, you
When we write a program, it is always inevitable to err on the wrong way, no matter how cautious. These errors often confuse the PHP compiler. If developers are unable to understand the meaning of compiler error messages, they are not only useless,
A single declaration is recommended because it facilitates writing comments. i.e.
int $level; Degree of indentationint $size; Determined by a tab
To be superior,
int $level, $size;
Do not put declarations of different types of variables on the
Processing form data in PHP is easier than other Web programming languages-if you use this language for a period of time, you will find this to be an indisputable fact. The simplicity of this operation makes it easy to handle more complex form
• Do not be confused by VC, BCB, BC, MC, TC and other words-they are integrated development environment, and we have to learn the same language is actually;
• Do not let go of any small programming problem that seems simple-they are often not so
We can see in many places the need to
The properties of the Perl program are changed to 755, the Text property is changed to 666, the Directory property is changed
777, what the hell does that mean? What do they mean? Why do you set this up? How
function abs ()
Describe:
Mixed ABS (mixed number);
Returns the absolute value of number. If The argument number is a float, return type is also float, otherwise it is int (returns the absolute value of the lost digit, floating-point return float,
By default, the function arguments are passed by value. If you want to allow a function to modify the value of its arguments, you can pass them by calling.
If you want a function parameter to be passed by reference, you can pre-sign the parameter
String
Note the difference between single and double quotation marks
Note the escape character \ 's use \\,\ ", \$
Note Using 8-or 16-character notation \xf6
echo "H\xf6me";//need to see if this type of text encoding is supported
echo '--------
Sqlinjectionvbulletin
VBulletin Forum 2.3.xx SQL injectionthere exist a SQL injection problem in calendar.php.
--------Cut from line 585 in calendar.php----------
else if ($action = = "Edit")
{
$eventinfo = $DB _site->query_first ("Select
Manual
DIV class=sect1>
The For loop is a very complex loop in PHP. It behaves as if it were in the C language. The following is the syntax for looping:
for (EXPR1; expr2; expr3) statement
The first expression (EXPR1) is the value of the loop's
As long as you install some third-party library files and have some geometrical knowledge, you can use PHP to create and manipulate images. Creating dynamic images with PHP is a pretty easy thing to do. Below, I will explain in detail how 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