PHP 预定义变量($_GET 和$_POST)

PHP 预定义变量($_GET 和$_POST)

$_GET 
通过URL参数传递给当前脚本的变量的数组

PHP 预定义变量($_GET 和$_POST)

PHP 预定义变量($_GET 和$_POST)

$_POST
通过HTTP POST方法传递给当前脚本的变量的数组。

PHP 预定义变量($_GET 和$_POST)

PHP 预定义变量($_GET 和$_POST)

区别:跳转以后地址栏不一样

get请求:check.php?username=admin&password=123

post请求:check.php

相关文章: