Con php

$_GET['s']

Ti consiglio

http://freephp.html.it/guide/lezione.asp?id=197