What is the difference between $ _ GET and $ variable?

Source: Internet
Author: User
What is the difference between $ _ GET and $ variables? for example, what are the differences between the two methods that can be used to receive incoming parameters para1 $ _ GET [para] and $ para from another page?? ------ Solution ------------------ $ _ GET is a global variable and receives a form submitted in get mode. $ para is just an ordinary variable. ------ Solution ------------------ what is the difference between the $ _ GET and $ variables in the quality zone?
For example, the input parameter para = 1 is accepted from another page.
What are the differences between $ _ GET ['para'] and $ para?

------ Solution --------------------
$ _ GET is a global variable that receives a form submitted in get mode. $ para is just an ordinary variable.
------ Solution --------------------
Quality differences
------ Solution --------------------
$ Para can be used
It is only possible that the framework you use will process get.
This is inherently insecure.
------ Solution --------------------
Let's look at your profile picture and explain the difference between a bicycle and a mountain bike.
------ Solution --------------------
Discussion
For example, the input parameter para = 1 is accepted from another page.
What are the differences between $ _ GET ['para'] and $ para?

------ Solution --------------------
Discussion
For example, the input parameter para = 1 is accepted from another page.
What are the differences between $ _ GET ['para'] and $ para?

------ Solution --------------------
$ _ GET is the system-defined variable $ para is only the variable you have defined.
------ Solution --------------------
Learn from the basics. if you don't build the foundation, you can build a building.
------ Solution --------------------
Change the configuration in php! You searched Baidu to ensure security and variables do not conflict!
------ Solution --------------------
$ _ GET is a global variable.
$ Para can also be used.
Probably through the extract () function.
Converts a key name to a variable name and a key value to a variable value.
------ Solution --------------------
It is recommended that you read the basic books. This is a basic thing. All these questions must be answered to prove that you are really lazy. Or your php is really bad.
------ Solution --------------------
This code is rarely seen now!

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.