Hi everyone, i have created a php script for my students to do some questions, but cannot seem to execute it when i upload it via the file upload option. It would only let me edit the php file but not execute it. I have only teacher permissions and cannot discuss this with the system administrator as he is away for 1 month. Is there a way i can work around this?
Thanks for you help.
I think it is running moodle version 1.9
The usual workaround is to design questions using the built-in features in Moodle, which are well tested. Message me if you'd like another head to look at options for presenting the questions using Moodle.
If you want students to submit PHP code for automated testing in a sandbox, look into onlinejudge, but that plugin would have to be evaluated and installed by your Moodle administrator.