I did a lot of playing with that script a couple years ago. It was converted to create a serialized output rather than a .php script sometime before I started playing with it. In it's last posted form I believe it was working well. I have used it to move my device templates from system to system during re-installs many times with great success. It is not a supported method of submitting/moving devices around right now.
It would be great to have the templates submitted to sqlCVS so they would be available for others to use. Have a look at: http://wiki.linuxmce.org/index.php/How_to_use_sqlCVS_from_web_admin