U
U
Uzair Izha2015-11-03 16:38:21
PHP
Uzair Izha, 2015-11-03 16:38:21

How does $_REQUEST work?

You can explain how $_REQUEST works to the teapot, in simple language. and @$_REQUEST - what does it mean?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Kopylov, 2015-11-03
@kopylov_vlad

Using it, you can get the value of the variables received during the GET / POST request. They are immediately in the same $_REQUETS array, and not in $_GET and $_POST separately. And it also contains $_COOKIE.
It is better to use it when you need 2 out of 3 variables in one place in the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question