Yes, Adobe Captivate 5 has the capability to send the results of a quiz to a PHP file, in the Alternate Reporting workflow.
Following are the necessary steps :
- You need to have a PHP server, where you need to place the PHP file. The template for the PHP file is located at : C:\Program Files\Adobe\Adobe Captivate 5\Templates\Publish\InternalServerReporting.php
- There are new reporting options available in the Quiz Preferences of Adobe Captivate. Select the Internal Server option after checking the Enable Reporting for this project check-box : Quiz->Quiz Preferences->Reporting
- Click the configure button and enter the link of the PHP file, placed on your server. Also, put the appropriate names for the organization, department and course in the text-fields.
You can anytime modify the InternalServerReporting.php file as per the requirements.
With these settings, a Post Results button appears on the Result slide. When this button is clicked by the students at runtime, the results are sent to the PHP file.
Hope this helps!!!
Can the PHP be on the remote server, instead of the local machine?
Sorry if this is a silly question, I am just an instructional designer. It seems to me that the PHP would be running on the LMS side, while the Captivate SWF is being played locally.
I just tested this out with both the Cp5 output files (foo.htm, foo.swf, standard.js) and the internalServerReporting.php file on a remote server (same directory) and it worked fine. If you specify the location of the internalServerReporting.php file via an absolute URL (e.g. http://www.examples.com/fooproject/internalServerReporting.php), I think it should work regardless of the the various possible locations of the .htm and .php files, though security settings (either for Flash Player or for the web server) will probably get in the way if you try to run one local and the other remote, or if you try to run both remote but on different servers (though I'm going to test this latter option tomorrow).
Just as an FYI, the two PHP files that Adobe provides with Cp5 are both in this location (on Windows XP, at least):
C:\Program Files\Adobe\Adobe Captivate 5\Templates\Publish
There is an internalServerReporting.php file and an internalserverread.php file. The latter threw an error on my server, but the former worked quite nicely. It creates a set of directories and files based on the department and course name specified in the quiz settings and then, when the results are submitted from the quiz, prompts for user name and email address. It uses the email address as a unique identifier for the user. And it writes a separate XML file for each user's quiz attempt. This entire directory structure can be downloaded from your server and parsed with the AdobeCaptivateQuizResultsAnalyzer AIR app.
The internal server score reporting solution in cp5 is what we really need but all our internal servers are running ASP. Has anyone translated the internalServerReporting.php file to an ASP script? That would be easier for me than trying to shove IT in a different direction. Any ideas would be welcome.
I've got this working fine. The Captivate export had to be on the same server as the php script that was gathering the $_POST data.
Is there any way to auto-post the test data? As it currently works, the student has to click to post the data.
Currently there is no action exposed for auto-posting the results. You can log a feature request for this :
know whether, what, and how to post.
If you can figure out what the function is that Post button calls, or if Adobe can just tell us (?), then it should be possible to automate it with an Advanced Interaction?
But maybe what that Post button does requires a bunch of internalized CP events, which is then passed to a JS function, so maybe it's not that easy ;-)