PHP learning notes (2) $ _ GET and $ _ POST of PHP are used to retrieve & #20540; in the form, such as user input. Form instance: & lt; html & gt; & lt; body & gt; & lt; formaction & quot; welcome. php & quot; method & quot; post & quot; & gt; Name:
1. use the post method to submit a form. use method: change the method label attribute in the form to "post". feature: The post method does not depend on the url and will not be displayed in the address bar. The post method can transmit data to the
Implement cross-domain Cookie. Cookie is a great invention that allows web developers to retain the logon status of their users. However, problems may occur when your site or network has more than one domain name. Cookie is a great invention that
Mod_rewrite is not required to directly use php to implement pseudo-static pages. do you need mod_rewrite to directly use php to implement pseudo-static pages ,? Php $ Php2Html_FileUrl = $ _ SERVER ["> ? Php$ Php2Html_FileUrl = $ _ SERVER
Template
Data, page separation... data is transmitted to the page, and the page displays data only in the corresponding position ....
Template assignment and Output
$ This-> assign ('name', $ value); or
$ This-> name = $ value;
Output
1. Default
As a PHP programmer, especially a newbie, I always know too little about the sinister nature of the Internet. It is often difficult to handle external intrusions, they do not know how hackers intrude, commit intrusions, upload vulnerabilities, SQL
Value assignment: When a value of an expression is assigned to a variable, the value of the original expression is assigned to the target variable. This means that, for example, changing the value of one variable when the value of one variable is
1. Use the post method to submit a formUsage: change the method label attribute in the form to "post"Feature: The post method does not depend on the url and will not be displayed in the address bar. The post method can transmit data to the server
use mysql_real_escape_string () to prevent SQL injection problems.Use regular expressions and strlen () to ensure that the GET data is not tampered with.Use regular expressions and strlen () to ensure that the data submitted by the user does not
First, runtime prefaceThe recent study of the runtime, the foundation is not good enough, research for a long time, only to understand some, know a probably, here to make a note. OC is a runtime language that determines the type of an object only
------1 Overview------1.1 In simple terms Linux,unix is very dependent on scripting, and win is not. Win has a lot of graphics program +c Library, the efficiency is not worse than the script. A few mouse clicks can still complete the requirements.
A brief description of MVC theory and how PHP realizes MVC
I believe there are many such articles, but today I would like to share my experience with you. Pure original, I also have no reservations, I hope to help the novice, there are said the
The default command-line prompt for the PowerShell console is ps+ (current path) + arrow, shaped like this:
Copy Code code as follows:
PS C:\Users\ non-moss >
The front plus PS is a sign of PowerShell to distinguish it from the
I. NOTICE OF transaction
After the user completes the payment successfully, the micro-credit background notification (POST) merchant Server (Notify_url) pays the result. The merchant can use the Notify_url notice result to carry on the personalized
Review
Cookies are a way for servers or scripts to maintain information on client workstations under the HTTP protocol. A cookie is a small file saved by a Web server in a user's browser that can contain information about a user, such as an
The method of obtaining and filtering variables in thinkphp3.x is described in this paper. Share to everyone for your reference, specific as follows:
Here we'll learn how to use variables and filter variables in thinkphp.
In the process of web
The examples in this article describe the common configuration options for thinkphp. Share to everyone for your reference, specific as follows:
return Array (/* DISPATCH set/' dispatch_on ' => true,//whether dispatcher//URL mode is enabled: 0
A summary of Cookie|cookies
cookie is a way for servers or scripts to maintain information on client workstations under the HTTP protocol. A cookie is a small file saved by a Web server in a user's browser that can contain information about a
"Variables and Constants"
Variable: The amount that will change, temporarily storing the data so that you can call it later
Constants: Quantity that does not change
One, variable and array
"Variable", like in memory to divide a space, you can
C language basics-Lesson 2-data types and operators and Data Type Operators1. Data Type 1.1 constant in C Language
A constant is an unchangeable amount in a program. when defining a constant, an initial value must be given.1.1.1 # define
Define a
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.