Flash to php to text trouble

Hi all,
'been trying to send out a loadvar with POST variable form flash to a php that would be storing that data into a .txt doc… I know, it’s a bit too simple but i can’t get it to work at all.
I’ve been checking tutorials but can’t get one to do that simple task. Anybody would have one or a good address?
Thanks a lot.
Fabrice