title: Using PHP within a SCORM course
body: <p>I am creating an online course via SCORM for Moodle 1.9. I have decided that using SCORM is really the only way to design the course the way I want. It doesnt need to work in any other LMS, just one; so I am not worried about compatibility across the board.</p>
  
  <p>What is the best way to use PHP files within a SCORM course?</p>
  
  <p>I have tried linking directly to an outside PHP file, which does "work", but returning back to the SCORM files is kinda wierd. I have to add in this obscure path:</p>
  
  <pre><code>&lt;a href="http://example.com/file.php/3/moddata/scorm/2/scormcontent/complete.html"&gt;complete course&lt;/a&gt;
  </code></pre>
  
  <p>Although I have not done much testing, the above technically works. But, I would like to know what the best practices are when it comes to using anything other than HTML and javascript in SCORM. Please help!</p>
  
  <p>Cheers</p>