I'm trying to make a CGI script that does something based on the value of a specific posted parameter. The parameter's name is 'question.'
How can you get POST parameters using a c shell script?
I found a script that should be accessing the posted parameter but I'm a bit confused by it. What is the 'zzz'?
[code]
#!/bin/csh -f
setenv HOME '/stu2/karabi/public_html/menu'
setenv PATH '/global/apps/mira/bin:$PATH'
echo "Content-Type:text/plain"
echo ''
setenv v "`/bin/cat`" /global/apps/mira/bin/mira /stu2/karabi/public_html/menu/menu.m << zzz
(sh_answer "$v")
/q
zzz
[/code]