Outputting user's actions/history to database, then create

Ok here is the scenario:

I have created a flash file to be use in a stand alone kiosk, powered by a box running windows2000. The user will navigate the interface and find information about products and services. I need to track how the user navigates the site and what products and services are being view the most. That’s not all, after getting that information out of flash, by actionscript, I need to generate a weekly report with this data that will be understood by the marketing personal (simple language, graphs, charts, etc).

So the question is:

What would be the recommended process to get this done?
ex: use actionscript to output data out of flash, php to do something with it, MySQL, other program to generate report???

Any recommendations, suggestion, approaches, tutorials on how to tackle this challenge would be much appreciated
thanks
gepo