CGI scripting using c shell - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


CGI scripting using c shell

Josh CodeJosh Code Posts: 675Member
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'?
#!/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")
Sign In or Register to comment.