andreas schneider
this is a basic sample form/ script (i do not even use the input- just to
keep it simple & to exclude as many variable as possible):
<form action="plain.acgi" method=post>
<input type="text" name="name1" value="" maxlength=40> simple text via .cgi
</form>
(the file "plain.cgi" is in the same folder than macHTTP and the forms html
document)
----
property crlf : (ASCII character 13) & (ASCII character 10)
property http_10_header : "HTTP/1.0 200 OK" & crlf & "Server: MacHTTP" &
crlf & ツ
"MIME-Version: 1.0" & crlf & "Content-type: text/html" & crlf & crlf
property idletime : 600
property datestamp : 0
set datestamp to current date
on ヌevent WWWスsdocネ path_args given ヌclass postネ:post_args
set datestamp to current date
set return_page to http_10_header & ツ
"<HTML><HEAD><TITLE>results:</TITLE></HEAD><BODY>test</BODY></HTML>"
return return_page
end ヌevent WWWスsdocネ
on idle
if (current date) > (datestamp + idletime) then
quit
end if
return 5
end idle
on quit
continue quit
end quit
---
i had same problems on a powerbook 180 and a quadra 840AV. , us international system.