Ti suggerisco di iniziare leggendo il manuale ufficiale:

http://www.php.net/manual/en/feature...ost-method.php