$ _ REQUEST, $ _ GET, and $ _ POST are edited by u010250831 at 2013-12-1921: 23: 04! A simple line of code! The results are very different. I don't know why! Please help us solve this problem! As follows: I created a file cheshi. php and entered the following code: & lt ;? Phpprint_r ($ _ GET); print_r ($ _ REQUEST, $ _ GET, $ _ POST
This post was last edited by u010250831 at 21:23:04 on
Hello everyone! A simple line of code! The results are very different. I don't know why! Please help us solve this problem!
As follows:
I created a file cheshi. php.
Enter the following code:
Print_r ($ _ GET );
Print_r ($ _ POST );
Print_r ($ _ REQUEST );
?>
The output result is: $ _ GET, $ _ POST is empty, and $ _ REQUEST is output as follows:
Array
(
[Cnzzdata4238561] => cnzz_eid = 792289677-1386735817-http % 3A % 2F % 2 Flocalhost & ntime = 1386735817 & cnzz_a = 28 & ltime = 1386736989461
[Bd1__firstime] => 1386988923534
[ECS] => Array
(
[Visit_times] => 8
)
[CNZZDATA1670348] => cnzz_eid = 262288638-1386581204-http % 3A % 2F % 2 Flocalhost & ntime = 1387258320 & cnzz_a = 177 & sin = none & ltime = 1387247284046 & rtime = 6
[CNZZDATA3203633] => cnzz_eid = 239809964-1387289862-http % 3A % 2F % 2 Flocalhost % 2F & ntime = 1387289862 & cnzz_a = 9 & sin = none & ltime = 1387289857885
[CNZZDATA4844992] => cnzz_eid = 880915059-1387289981-http % 3A % 2F % 2 Flocalhost % 2F & ntime = 1387289981 & cnzz_a = 43 & sin = none & ltime = 1387290575798
[SYQDUGqqzHrefersh_time] => 0
[DedeUserID] => 1
[DedeUserID _ ckMd5] => inclue0b627c089b98
[Last_vtime] = & gt; 1387416855
[Last_vtime _ ckMd5] => 303054e738d2f36d
[Last_vid] => admin
[Last_vid _ ckMd5] => 9fa4781db73e162f
[PHPSESSID] => t4sr7oc4v0tfosklcv050riuk3
[DedeLoginTime] = & gt; 1387456002
[DedeLoginTime _ ckMd5] => e539663bd26b3136
)
The question is: what does this information represent! Hope to get a detailed answer! Thank you!
Why does $ _ REQUEST exist?
Share: More
------ Solution --------------------
Obviously, besides get and post, there are also coockie.
Print_r ($ _ COOKIE );
Check whether it is the same as print_r ($ _ REQUEST?