Quick question, has me stumped right now, prob really easy solution
I have a resource (webpage) that opens a form mailer inside moodle. What do I need to include in the form mail php page to be able to determine the current course the page is loaded into, so that I can add it to the form variables?
The usual way to pass the current course to another page is via the URL. But I don't understand exactly what you mean by "a resource opens a form mailer inside moodle". What is a form mailer?