How to pass value from one php file to another within the same flash movie?

how do you do this?

for example: user logs in at frame 1, gets to the content in frame 3 and needs the login user name for php mysql query

basically, is there a command in php that will pass a value to another php file?

  • OR -

can you run multiple mysql querys in the same php file? i want buttons in different frames to do different things to the data in the database.