| 
| OK, trying here to get this .mt thing going. Metacard is installed on our
| San Diego Apache server...
| 
| Using the "survey.mt" as a model I created this small script:
| 
| #!/usr/local/bin/mc
| on start up
|    if $REQUEST_METHOD is "POST" then
|    read from stdin until empty
|    put it into buffer
|    put "Content-Type: text/plain" & cr
|    put "Content-Length:" && the length of buffer & cr & cr
|    put buffer  
| end startup
| 
| We installed it as "test_forms.cgi"


Havent' checked to see if anyone else replied yet, but the
script above was fixed to make the "on" and "end" tokens
the same (startup) and added an "end if" also.

It now works.

BTW, before this MC was returning signal 11.  Can anyone
tell me how to find out the meaning of signal 11?

Thanks
Sadhu

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to