Hi, for a research project I need to use a flash app that draws on some custom php for routines such as user authentication, writing results to a file, and so forth. My php/drupal coding knowledge is both thing and rusty.
My goal is to use one of the lightbox modules in drupal to pop the flash app over the drupal interface, this is mainly so that users can have maximum screen real estate. As the flash app is running it calls xml files and a php file for configuration and for some simple routines as I identify above.
Ideally I would like to have users authenticate on their way into drupal and pass their username to the flash app via it's php routines. The other option is to have users re-enter their user codes at each of three stages. (The app provides for storing user IDs in a php array statement in the php file and then check entered IDs against that.
First, after digging through forum backposts and the internet I have found a simple set of php statements for grabbing the user name from a global variable. Will my php execute in the same global environment as drupal? if so I can simple use this statement set to grab the user ID and set it in my own PHP