PHP inside SCORM

PHP inside SCORM

by Abhilash AG -
Number of replies: 1

In my website, the xml file for flash is dynamically generated using php by combining few other xml files, based on url. So, if url says course=1&module=5, then php will combine xml file for course 1 and xml file for module 5 to generate the resultant xml.


Is it possible to convert this into SCORM format. The main challenge I am facing is the PHP will not work inside SCORM format and url based manipulation will also be difficult. Could anybody suggest a workaround for this please?


-Many Thanks,

Abhilash

Average of ratings: -
In reply to Abhilash AG

Re: PHP inside SCORM

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

SCORM packages are designed to be static/self-contained content. You cannot add PHP to SCORM packages.

You could potentially use AICC HACP by setting up a server that hosts the content and uses AICC HACP to communicate results etc with the LMS but I haven't seen any useful documentation on how to do this on your own.