0
Differences between GET and POST methods ?
2 Réponses
+ 2
POST and GET are two HTTP request methods. GET is usually intended to retrieve some data, and is expected to be idempotent (repeating the query does not have any side-effects) and can only send limited amounts of parameter data to the server.
+ 1
GET values are posted via URL (http://some.com/?p1=3&p2=test) ... $_GET['p1'] == 3 and $_GET['p2'] == 'test' ... POST is posted inside the requests (so is invisible in URL) and you can access it just as GET only using $_POST global variable.