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.