As described in the Second Life version of the script, the following script needs a database to be created and a web-server available for receiving the data.
The database structure is the following:
PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; CREATE TABLE "responses" ( "q" text NOT NULL, "v" text NOT NULL, "a" text NOT NULL, PRIMARY KEY("v","q") );
The LSL script can be placed inside any primitive in-world and both the PHP script, along with the SQLite database named
questions.sqlite, reside on the web-server.