+ 1
$_REQUEST
I dont understand on what is using. Can me somebody explain it please?On example ...
1 Answer
+ 5
Sometimes you might want the same script to be called with several different ways. A form submit and an AJAX call comes to mind. In most cases, however, its better to be explicit. But I like to use $_post when I want to hide data, such as password.
And use $_get when you can show your data. Rarely use $_cookie because $_session is better option. There are many function in PHP which were better for older days. But rarely use now