Execute script upon enrollment?

Execute script upon enrollment?

by Robert Kembel -
Number of replies: 0

Is it possible to automatically execute a php script upon (self) enrollment? I use an e-book to accompany the course and I would like to launch a script to send the student an activation key when they enroll in a course (either via Manual Enrollment, Self-Enrollment, or PayPal Enrollment). This needs to be something that is executed only once per enrollment so that rules out using an activity or resource since that could be used multiple times.

Any ideas along the lines of using "Restrict Access" to enable a one-time php script?

Thanks,

Bob

Average of ratings: -