Wednesday, June 10, 2009

Interview Questions And Answers in PHP

1. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

Ans: Using HTML we use form to submit the values. Click here to know more about HTML forms. Get is used to pass the data using URL , and we can send a particular length of characters as supported by the explorer.
When we use POST method , we can send the unlimited length of data using POST.

Action is used to submit the form , and the elements in the form get in array as $_POST, $_GET and $_REQUEST

No comments:

Post a Comment