Explain Different Methods Sending Data Form Script Using Php Q37041205

Explain the different methods of sending data from a form to ascript using PHP


Answer


Answer:-

There is two methods which is responsible for sending the datafrom a form to scripts in PHP, they are $_GET and $_POSTmethods.

$_GET :- GET method sends the encoded user information appendedto the page request,It is restricted to send upto 1024 charactersonly

$_POST:- information is encoded as described in case of GETmethod and put into a header called QUERY_STRING,it can be used tosend ASCII as well as binary data

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.