Sure, I'll post it temporarily publicly.
NOTICE: Please DO NOT use the code as-is for any public site. It almost certainly lacks input sanitation which could lead to your whole server getting hacked. This was used by a separate web app that was isolated so I was not at all concerned with the...