What is the special meaning of the action dry parameter in PHP? See Code

Source: Internet
Author: User
Does the action in PHP have any special meaning? See Code
I am learning PHP 5, set the error prompt to display:
The following code is available:



Graphics (perimeter & area) Calculator


Rectangle | |
Triangle | |
Circular




echo $_get["Action"];

?>


Run the http://localhost/xphp/tuxingjsq.php, click the rectangle triangle, circular link, no error prompts.



When I change the action in the link to a different name, such as: Name, an error message appears, such as:




Graphics (perimeter & area) Calculator


Rectangle | |
Triangle | |
Circular




echo $_get["name"];

?>


An error message will appear:
PHP notice:undefined Index XXX

Excuse me: Is this action have special meaning? Or is it another reason?

Share to: $_get[' B '] = 1;
What happens if you get $_get[' C ']?
The situation is that the execution engine will tell, sorry I can't find C, you didn't give it to me.

That is, if you pass action,php execution engine error: PHP notice:undefined index action
------Solution--------------------
That's wrong.

Which means if you NoDelivery action,php Execution engine error: PHP notice:undefined index action
------Solution--------------------
There's got to be another place to use this get past action.
  • 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.