GET: Parameters remain in browser history because they are part of the URL Can be bookmarked. GET method should not be used when sending passwords or other sensitive information. 7607 character maximum size. Example: http://www.test.com/index.htm?name1=value1&name2=value2
2 3 4 5 6 7 8 9 10 11 12 |
<form method="get" action="<?php echo $_SERVER["PHP_SELF"];?>"> <label for="inputName">Name:</label> <input type="text" name="name" id="inputName"> <input type="submit" value="Submit"> </form> |
POST: Parameters are not…
Expand +