What is deffience betwwen get() , Post , Request()

Answer Posted / ravi baba zaa

$_GET - It is build in super global array which collect the values from the FORM which has GET method.
Data is transferred with in URL string hence visible. Data transfered limit max. 100 characters.

$_POST - It is build in super global array which collect the values from the FORM which has POST method.
This method is safe as data is not shown in URL. Also there is
no data transfer limit. 8 Mb max size limit can be changed from PHP.ini

$_REQUEST - The $_REQUEST function can be used to collect form data sent with both the GET and POST methods.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the php functions?

538


What are the common uses of php?

547


Tell me what is needed to be able to use image function?

538


What is a class in php programing?

1998


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

530






How do you use bcrypt for hashing passwords in php?

524


How can we check the value of a given variable is a number?

602


Why do we use sessions in php?

523


When use javascript vs php?

530


How to generate a form?

609


Explain about require and include function?

564


What is the purpose of basename() function in PHP?

594


What is the use of offset in mysql?

519


How to convert a character to an ascii value?

555


What is the use of htmlentities in php?

500