I doubt that such a script exists. MS-SQL is a real database, mysql is a toy at best. MS-SQL to PostgreSQL is a lot easier because postgresql supports a lot more.
Anywaym this is ofcourse not really a task for PHP, there are lots of tools out there to convert data, why use a web-enabled scripting language?