Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Accessing php variables at runtime

Accessing php variables at runtime 5 years 8 months ago #58139

  • pelle01
  • pelle01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 15
  • Thank you received: 1
  • Karma: 1
Dear everybody
I have implemented flash applications in a number of Text Display type questions. Now, these flashapps are supposed to deliver data to the database. For that reason I created a custom db table to store data from the flashapps. I transfer data from the flash to the database via a phpscript wich is called from the flashapp. It works fine. My problem is as follows; I would like to pick up the questioncode, i.e. the value of {SGQ} and the id of the user on the way to the database from my phpscript. I have tried to reach the $_session variables and for instance the $surveyid but they are not accessible. What code do I need to load in my phpscript to access the runtime variables that are out there? I would be very gratful for any hint. Thank you.
The administrator has disabled public write access.
Time to create page: 0.433 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form