PHP $_REQUEST SuperGlobal Array

preview_player
Показать описание
Another of the SuperGlobal Arrays in PHP is the $_REQUEST array.
This one actually combines the contents of the $_GET, $_POST, and $_COOKIE arrays.

Рекомендации по теме
Комментарии
Автор

Thanks for the tutorial. I've been around php for a while now and I have never seen or used this superglobal... just seems kinda pointless. I normally use a form parser which is a separate file (most of the time) and I use isset, $_POST[], $_GET [] as listeners.

meatfactory
Автор

If i could access the data using get, post and cookies then why should i go for request. And in which scenario we could use request

ZABUZAPLAYZ
Автор

Hi Sir, which one is safe among three method Get, Post, and Request?

vandamieespadero