Update site with script

I wanna do like this:
When a press a button in flash i wanna call a script somewhere, php or javascript or whatsoever. And that will update the whole site.
How can I do this?

/ZeusVL