SQL Injection vulnerability fix in info.php

Hi there,
 in info.php there is an SQL Injection vulnerability.
 Besides, the name of the database should not be retrieved via POST variables.

Thanks ;)