in reply to How to send server / shell command via cgi?
you could suid your script (an incredibly bad idea unless you're 100% certain your script is watertight)