It doesn't generate a.xml file

this php Scripts Generates a XML stream which is compatible with Google Sitemaps. You simply have to feed your sm.php page to Google sitemap.
Just check that there are no errors, I think there 's one in your sitemap...

i see the Url in the sitemap are like these:
http://www.glissemagtv.com5/video-longskate-barrage/
they should be:
http://www.glissemagtv.com/view/5/video ... e-barrage/

double check your code. Just copy/paste my script in an emty php page, edit your database connection details, save it and uplaod.
That should be all!