Hi,
.mt newbie here, running mc on a Linux/Apache home server...
This mt script, when called over the internet thru a browser by an html
form's submit button, successfully puts stdin into the specified file but
the error logs show "premature end of script headers":
#!mc
on startup
if $REQUEST_METHOD is "POST" then
read from stdin until empty
put it into url "file:rawdata.txt"
end if
end startup
What am I doing wrong?
BTW, how are file paths specified in unix/linux? For example, if
"rawdata.txt" were in "/home/www/results/", would it be:
put it into url "file:/home/www/results/rawdata.txt"
Thank you in advance.
Nicolas R Cueto
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.