WOW, it's so cool! I learnt a large of important thing via your script!..
I edited the script to ODBC. Some PHP binaries is not support php_mssql.dll extension
Open the config.php
Edit the XXX\SQLEXPRESS, XXX is your computer name
Thank L3zToXz for posting the script!!!