Why not just using GET instead of POST in the form? That will put the $lang
variable in your URL, something like http://yourdomain.com/fileA.php?lang=it
Then, for the crawler to look at the different languages more efficiently, you could make internal links to the site using the URL with the lang GET variable.
Also, take a look at Gettext, it is a much better way to implement internationalization.